mirror of
https://github.com/zontreck/NBTEditor
synced 2024-11-21 05:25:54 -07:00
Apply dart autofixes
This commit is contained in:
parent
f3f762dca5
commit
e62fc5cf91
2 changed files with 3 additions and 3 deletions
|
@ -90,7 +90,7 @@ class EditorState extends State<Editor> {
|
|||
subtitle: const Text("Open an existing NBT Document for editing"),
|
||||
onTap: () async {
|
||||
String? filePath = await FlutterFileDialog.pickFile(
|
||||
params: OpenFileDialogParams());
|
||||
params: const OpenFileDialogParams());
|
||||
if (filePath != null) {
|
||||
// Do something with the selected file path
|
||||
print('Selected file path: $filePath');
|
||||
|
@ -161,7 +161,7 @@ class EditorState extends State<Editor> {
|
|||
}
|
||||
// Prompt for where to save
|
||||
print("Begin picking file to save to");
|
||||
var params = await SaveFileDialogParams(data: u8l);
|
||||
var params = SaveFileDialogParams(data: u8l);
|
||||
var filePath = await FlutterFileDialog.saveFile(params: params);
|
||||
|
||||
if (filePath == null) {
|
||||
|
|
|
@ -243,7 +243,7 @@ class TagExt {
|
|||
|
||||
didChangeState.call();
|
||||
},
|
||||
icon: Icon(Icons.delete))
|
||||
icon: const Icon(Icons.delete))
|
||||
],
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue