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:
Ian Hickson
2016-04-06 14:14:34 -07:00
parent 7ab122e557
commit 798dfa2bc9
4 changed files with 25 additions and 12 deletions

View File

@@ -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.');