File tree Expand file tree Collapse file tree 4 files changed +10
-6
lines changed
packages/stream_chat_flutter
lib/src/attachment/handler Expand file tree Collapse file tree 4 files changed +10
-6
lines changed Original file line number Diff line number Diff line change @@ -40,7 +40,7 @@ command:
40
40
ezanimation : ^0.6.0
41
41
firebase_core : ^3.0.0
42
42
firebase_messaging : ^15.0.0
43
- file_picker : ^8.0.5
43
+ file_picker : ^10.1.2
44
44
file_selector : ^1.0.3
45
45
flutter_app_badger : ^1.5.0
46
46
flutter_local_notifications : ^18.0.1
@@ -73,7 +73,7 @@ command:
73
73
photo_view : ^0.15.0
74
74
provider : ^6.0.5
75
75
rate_limiter : ^1.0.0
76
- record : ^ 5.2.0
76
+ record : " >= 5.2.0 <7.0.0 "
77
77
responsive_builder : ^0.7.0
78
78
rxdart : ^0.28.0
79
79
sentry_flutter : ^8.3.0
Original file line number Diff line number Diff line change @@ -23,7 +23,9 @@ class StreamAttachmentHandler extends StreamAttachmentHandlerBase {
23
23
FileType type = FileType .any,
24
24
List <String >? allowedExtensions,
25
25
Function (FilePickerStatus )? onFileLoading,
26
+ @Deprecated ('Has no effect, Use compressionQuality instead.' )
26
27
bool allowCompression = true ,
28
+ int compressionQuality = 0 ,
27
29
bool withData = true ,
28
30
bool withReadStream = false ,
29
31
bool lockParentWindow = true ,
@@ -34,7 +36,7 @@ class StreamAttachmentHandler extends StreamAttachmentHandlerBase {
34
36
type: type,
35
37
allowedExtensions: allowedExtensions,
36
38
onFileLoading: onFileLoading,
37
- allowCompression : allowCompression ,
39
+ compressionQuality : compressionQuality ,
38
40
withData: withData,
39
41
withReadStream: withReadStream,
40
42
lockParentWindow: lockParentWindow,
Original file line number Diff line number Diff line change @@ -111,7 +111,9 @@ class StreamAttachmentHandler extends StreamAttachmentHandlerBase {
111
111
FileType type = FileType .any,
112
112
List <String >? allowedExtensions,
113
113
Function (FilePickerStatus )? onFileLoading,
114
+ @Deprecated ('Has no effect, Use compressionQuality instead.' )
114
115
bool allowCompression = true ,
116
+ int compressionQuality = 0 ,
115
117
bool withData = true ,
116
118
bool withReadStream = false ,
117
119
bool lockParentWindow = true ,
@@ -122,7 +124,7 @@ class StreamAttachmentHandler extends StreamAttachmentHandlerBase {
122
124
type: type,
123
125
allowedExtensions: allowedExtensions,
124
126
onFileLoading: onFileLoading,
125
- allowCompression : allowCompression ,
127
+ compressionQuality : compressionQuality ,
126
128
withData: withData,
127
129
withReadStream: withReadStream,
128
130
lockParentWindow: lockParentWindow,
Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ dependencies:
30
30
diacritic : ^0.1.5
31
31
dio : ^5.4.3+1
32
32
ezanimation : ^0.6.0
33
- file_picker : ^8.0.5
33
+ file_picker : ^10.1.2
34
34
file_selector : ^1.0.3
35
35
flutter :
36
36
sdk : flutter
@@ -52,7 +52,7 @@ dependencies:
52
52
photo_manager : ^3.2.0
53
53
photo_view : ^0.15.0
54
54
rate_limiter : ^1.0.0
55
- record : ^ 5.2.0
55
+ record : " >= 5.2.0 <7.0.0 "
56
56
rxdart : ^0.28.0
57
57
share_plus : ^10.0.2
58
58
shimmer : ^3.0.0
You can’t perform that action at this time.
0 commit comments