flutter-plugins icon indicating copy to clipboard operation
flutter-plugins copied to clipboard

Could not get the correct file mimeType

Open leoelephant opened this issue 3 years ago • 0 comments

onDragDone: (detail) async { setState(() { list.addAll(detail.files); }); for (final file in detail.files) { debugPrint(file.mimeType); } },

Then the console prints out null。 done: D:\XXX.jpg flutter: null

What should I do to get the correct file type? thx

leoelephant avatar Jul 20 '22 11:07 leoelephant