added quotes export to file

This commit is contained in:
odweta
2026-04-03 13:01:22 +02:00
parent 8c4a7afa56
commit 3a9bc5fe7d
6 changed files with 203 additions and 9 deletions
+9 -2
View File
@@ -274,8 +274,15 @@ class ListPage extends StatelessWidget {
title: Text(Strings.exportSelectedQuotes),
trailing: Icon(Icons.import_export),
onTap: () {
// TODO: trigger an os dialog FileSave
},
provider.exportQuotesToFile();
Navigator.pop(context);
ScaffoldMessenger.of(context).showSnackBar(
SnackBar(
content: Text(Strings.fileExportedSuccessfully),
duration: const Duration(seconds: 3),
),
);
}
),
],
),