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:
Chris Bracken
2021-09-21 18:19:05 -07:00
committed by GitHub
parent eed116516b
commit d70b998cf8

View File

@@ -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 {