add withDatta : true to file selection
This commit is contained in:
parent
1f1bc5647b
commit
b493ac495d
2 changed files with 12 additions and 8 deletions
|
|
@ -284,6 +284,7 @@ class _MihPersonalProfileState extends State<MihPersonalProfile> {
|
|||
FilePickerResult? result = await FilePicker.platform.pickFiles(
|
||||
type: FileType.custom,
|
||||
allowedExtensions: ['jpg', 'png'],
|
||||
withData: true,
|
||||
);
|
||||
if (result == null) return;
|
||||
final selectedFile = result.files.first;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue