Code cleanup
This commit is contained in:
parent
0837bf9d80
commit
684a939cf7
|
|
@ -2,7 +2,6 @@ import 'dart:io';
|
|||
import 'package:flutter/material.dart';
|
||||
import 'package:package_info_plus/package_info_plus.dart';
|
||||
import 'package:provider/provider.dart';
|
||||
import 'package:quickgui/src/globals.dart';
|
||||
import 'package:tuple/tuple.dart';
|
||||
import 'package:window_size/window_size.dart';
|
||||
|
||||
|
|
|
|||
|
|
@ -1,4 +1,3 @@
|
|||
import 'dart:ffi';
|
||||
import 'dart:io';
|
||||
|
||||
import 'package:flutter/material.dart';
|
||||
|
|
|
|||
|
|
@ -325,16 +325,16 @@ class _ManagerState extends State<Manager> with PreferencesMixin {
|
|||
'configuration, or delete the whole VM?'),
|
||||
actions: [
|
||||
TextButton(
|
||||
child: Text('Cancel'),
|
||||
child: const Text('Cancel'),
|
||||
onPressed: () =>
|
||||
Navigator.pop(context, 'cancel'),
|
||||
),
|
||||
TextButton(
|
||||
child: Text('Delete disk image'),
|
||||
child: const Text('Delete disk image'),
|
||||
onPressed: () => Navigator.pop(context, 'disk'),
|
||||
),
|
||||
TextButton(
|
||||
child: Text('Delete whole VM'),
|
||||
child: const Text('Delete whole VM'),
|
||||
onPressed: () => Navigator.pop(context, 'vm'),
|
||||
) // set up the AlertDialog
|
||||
],
|
||||
|
|
|
|||
|
|
@ -1,6 +1,4 @@
|
|||
import 'package:flutter/material.dart';
|
||||
import 'package:flutter/services.dart';
|
||||
import 'package:flutter_svg/parser.dart';
|
||||
import 'package:flutter_svg/svg.dart';
|
||||
import 'package:gettext_i18n/gettext_i18n.dart';
|
||||
|
||||
|
|
|
|||
|
|
@ -1,6 +1,5 @@
|
|||
import 'dart:io';
|
||||
|
||||
import 'package:flutter/cupertino.dart';
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:tuple/tuple.dart';
|
||||
import 'package:gettext_i18n/gettext_i18n.dart';
|
||||
|
|
|
|||
Loading…
Reference in New Issue