Skip to content

Commit

Permalink
add custom mimetype
Browse files Browse the repository at this point in the history
  • Loading branch information
deathblade666 committed Aug 29, 2024
1 parent 0f02978 commit ea951bc
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/pages/menu.dart
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,8 @@ class Menu extends StatefulWidget {
ext: "md",
name: "test",
bytes: bytes,
mimeType: MimeType.text);
mimeType: MimeType.custom,
customMimeType: "md");
//final file = File(outputfile!);
//file.writeAsString(OpenFile.text);
showDialog(
Expand Down

0 comments on commit ea951bc

Please sign in to comment.