Skip to content

Commit 6296196

Browse files
fix changelog
1 parent 23e3df3 commit 6296196

File tree

2 files changed

+13
-1
lines changed

2 files changed

+13
-1
lines changed

CHANGELOG.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,15 @@
1+
## 0.6.3
2+
3+
- Removed default values, nothing should change in usage as default values are already allocated in server
4+
5+
## 0.6.2
6+
7+
- Fixed deployment bug
8+
9+
## 0.6.1
10+
11+
- Fix for image preview param types
12+
113
## 0.6.0
214

315
- Upgraded to Null-safety, minimum Dart SDK required 2.12.0

lib/services/storage.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ class Storage extends Service {
132132
/// and spreadsheets, will return the file icon image. You can also pass query
133133
/// string arguments for cutting and resizing your preview image.
134134
///
135-
Future<Response> getFilePreview({required String fileId, int? width, int? height, int? quality, int? borderWidth, String? borderColor, int? borderRadius, int? opacity, int? rotation, String? background, String? output}) {
135+
Future<Response> getFilePreview({required String fileId, int? width, int? height, int? quality, int? borderWidth, String? borderColor, int? borderRadius, double? opacity, int? rotation, String? background, String? output}) {
136136
final String path = '/storage/files/{fileId}/preview'.replaceAll(RegExp('{fileId}'), fileId);
137137

138138
final Map<String, dynamic> params = {

0 commit comments

Comments
 (0)