mirror of
https://github.com/flutter/flutter
synced 2024-08-27 12:00:58 +00:00
Remove and also ignore unnecessary imports (#89796)
This commit is contained in:
parent
3e687a9fac
commit
8889ffaec3
|
@ -36,6 +36,9 @@ analyzer:
|
|||
# Stream and not importing dart:async
|
||||
# Please see https://github.com/flutter/flutter/pull/24528 for details.
|
||||
sdk_version_async_exported_from_core: ignore
|
||||
# TODO(https://github.com/flutter/flutter/issues/74381):
|
||||
# Clean up existing unnecessary imports, and remove line to ignore.
|
||||
unnecessary_import: ignore
|
||||
# Turned off until null-safe rollout is complete.
|
||||
unnecessary_null_comparison: ignore
|
||||
exclude:
|
||||
|
|
|
@ -5,7 +5,6 @@
|
|||
library component1;
|
||||
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:flutter/widgets.dart';
|
||||
|
||||
|
||||
class LogoScreen extends StatelessWidget {
|
||||
|
|
|
@ -5,7 +5,6 @@
|
|||
import 'dart:async';
|
||||
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:flutter/widgets.dart';
|
||||
import 'package:flutter_driver/driver_extension.dart';
|
||||
|
||||
import 'component1.dart' deferred as component1;
|
||||
|
|
|
@ -3,7 +3,6 @@
|
|||
// found in the LICENSE file.
|
||||
|
||||
import 'package:platform/platform.dart';
|
||||
import 'package:process/process.dart';
|
||||
import 'package:test/test.dart';
|
||||
|
||||
import '../../../packages/flutter_tools/test/src/fake_process_manager.dart';
|
||||
|
|
Loading…
Reference in a new issue