Skip to content

Commit

Permalink
test prompot
Browse files Browse the repository at this point in the history
  • Loading branch information
deathblade666 committed Aug 30, 2024
1 parent da58f05 commit cb2b52c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/pages/menu.dart
Original file line number Diff line number Diff line change
Expand Up @@ -117,9 +117,11 @@ class Menu extends StatefulWidget {
//return;
//}

var saveFile = await FlutterFileDialog.pickFile(params: OpenFileDialogParams());
final String filePath = saveFile.toString();
var result = await FlutterFileDialog.saveFile(params:
SaveFileDialogParams (
sourceFilePath:" ",
sourceFilePath:filePath,
data: bytes,
fileName: "Test.md")
);
Expand Down

0 comments on commit cb2b52c

Please sign in to comment.