Fix analyzer warnings
Fix some legit uses of GlobalKey to specify the type they want. Fix some sketchy uses of GlobalKey in tests to fake it with "as dynamic". Remove some extraneous imports that made the build red.
This commit is contained in:
@@ -3,7 +3,6 @@
|
||||
// found in the LICENSE file.
|
||||
|
||||
import 'dart:async';
|
||||
import 'dart:io';
|
||||
|
||||
import '../application_package.dart';
|
||||
import '../build_configuration.dart';
|
||||
@@ -11,8 +10,6 @@ import '../globals.dart';
|
||||
import '../ios/mac.dart';
|
||||
import '../runner/flutter_command.dart';
|
||||
|
||||
import 'package:path/path.dart' as path;
|
||||
|
||||
class BuildIOSCommand extends FlutterCommand {
|
||||
BuildIOSCommand() {
|
||||
argParser.addFlag('simulator', help: 'Build for the iOS simulator instead of the device.');
|
||||
|
||||
Reference in New Issue
Block a user