feat: Show all supported image-/video-files when sending images or videos
This commit is contained in:
parent
0c27757154
commit
380639496d
1 changed files with 8 additions and 0 deletions
|
|
@ -50,6 +50,10 @@ enum FileSelectorType {
|
|||
any([], FileType.any, null),
|
||||
images(
|
||||
[
|
||||
XTypeGroup(
|
||||
label: 'Images',
|
||||
extensions: <String>['jpg', 'JPG', 'jpeg', 'JPEG', 'png', 'PNG', 'webp', 'WebP', 'WEBP', 'gif', 'GIF', 'bmp', 'BMP', 'tiff', 'TIFF', 'tif', 'TIF', 'heic', 'HEIC', 'svg', 'SVG'],
|
||||
),
|
||||
XTypeGroup(
|
||||
label: 'JPG',
|
||||
extensions: <String>['jpg', 'JPG', 'jpeg', 'JPEG'],
|
||||
|
|
@ -88,6 +92,10 @@ enum FileSelectorType {
|
|||
),
|
||||
videos(
|
||||
[
|
||||
XTypeGroup(
|
||||
label: 'Videos',
|
||||
extensions: <String>['mp4', 'MP4', 'avi', 'AVI', 'webm', 'WebM', 'WEBM', 'mov', 'MOV', 'mkv', 'MKV', 'wmv', 'WMV', 'flv', 'FLV', 'mpeg', 'MPEG', '3gp', '3GP', 'ogg', 'OGG'],
|
||||
),
|
||||
XTypeGroup(
|
||||
label: 'MP4',
|
||||
extensions: <String>['mp4', 'MP4'],
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue