Eliminate unnecessary canvaskit imports (flutter/engine#28787)
Fixes the following lints: ``` Analyzing web_ui... info - lib/src/engine/canvaskit/surface_factory.dart:8:8 - The import of '../util.dart' is unnecessary as all of the used elements are also provided by the import of '../../engine.dart'. Try removing the import directive. - unnecessary_import info - lib/src/engine/canvaskit/surface_factory.dart:9:8 - The import of 'embedded_views.dart' is unnecessary as all of the used elements are also provided by the import of '../../engine.dart'. Try removing the import directive. - unnecessary_import info - lib/src/engine/canvaskit/surface_factory.dart:10:8 - The import of 'surface.dart' is unnecessary as all of the used elements are also provided by the import of '../../engine.dart'. Try removing the import directive. - unnecessary_import ```
This commit is contained in:
@@ -5,9 +5,6 @@
|
||||
import 'package:meta/meta.dart';
|
||||
|
||||
import '../../engine.dart';
|
||||
import '../util.dart';
|
||||
import 'embedded_views.dart';
|
||||
import 'surface.dart';
|
||||
|
||||
/// Caches surfaces used to overlay platform views.
|
||||
class SurfaceFactory {
|
||||
|
||||
Reference in New Issue
Block a user