Apply dart autofixes

This commit is contained in:
zontreck 2024-07-24 06:12:03 -07:00
parent f3f762dca5
commit e62fc5cf91
2 changed files with 3 additions and 3 deletions

View file

@ -90,7 +90,7 @@ class EditorState extends State<Editor> {
subtitle: const Text("Open an existing NBT Document for editing"), subtitle: const Text("Open an existing NBT Document for editing"),
onTap: () async { onTap: () async {
String? filePath = await FlutterFileDialog.pickFile( String? filePath = await FlutterFileDialog.pickFile(
params: OpenFileDialogParams()); params: const OpenFileDialogParams());
if (filePath != null) { if (filePath != null) {
// Do something with the selected file path // Do something with the selected file path
print('Selected file path: $filePath'); print('Selected file path: $filePath');
@ -161,7 +161,7 @@ class EditorState extends State<Editor> {
} }
// Prompt for where to save // Prompt for where to save
print("Begin picking file to save to"); 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); var filePath = await FlutterFileDialog.saveFile(params: params);
if (filePath == null) { if (filePath == null) {

View file

@ -243,7 +243,7 @@ class TagExt {
didChangeState.call(); didChangeState.call();
}, },
icon: Icon(Icons.delete)) icon: const Icon(Icons.delete))
], ],
); );
} }