modern file manager delete dialog

This commit is contained in:
NicKoehler
2023-02-27 20:56:45 +01:00
parent c18c6d72bd
commit 828c201fe0
3 changed files with 125 additions and 53 deletions

View File

@@ -1010,25 +1010,11 @@ class _FileManagerPageState extends State<FileManagerPage>
MainAxisAlignment.spaceBetween,
children: [
ElevatedButton.icon(
style: ButtonStyle(
backgroundColor:
MaterialStateProperty.all(
MyTheme.accent,
),
shape: buttonShape,
),
icon: Icon(Icons.close_rounded),
label: Text(translate("Cancel")),
onPressed: cancel,
),
ElevatedButton.icon(
style: ButtonStyle(
backgroundColor:
MaterialStateProperty.all(
MyTheme.accent,
),
shape: buttonShape,
),
icon: Icon(Icons.done_rounded),
label: Text(translate("Ok")),
onPressed: submit,