add withDatta : true to file selection
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user