|
|
|
|
@ -115,7 +115,7 @@ class _MultiFilesPickerState extends State<MultiFilesPicker> {
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
ImageSource source = (await showModalBottomSheet(
|
|
|
|
|
ImageSource? source = (await showModalBottomSheet(
|
|
|
|
|
context: context,
|
|
|
|
|
shape: const RoundedRectangleBorder(
|
|
|
|
|
borderRadius: BorderRadius.vertical(
|
|
|
|
|
@ -146,8 +146,8 @@ class _MultiFilesPickerState extends State<MultiFilesPicker> {
|
|
|
|
|
12.height,
|
|
|
|
|
],
|
|
|
|
|
).paddingAll(21),
|
|
|
|
|
)) as ImageSource;
|
|
|
|
|
|
|
|
|
|
)) as ImageSource?;
|
|
|
|
|
if (source == null) return;
|
|
|
|
|
final pickedFile = await ImagePicker().pickImage(source: source, imageQuality: 70, maxWidth: 800, maxHeight: 800);
|
|
|
|
|
|
|
|
|
|
if (pickedFile != null) {
|
|
|
|
|
|