Skip to content

Commit

Permalink
[pointer_interceptor] suppressed new linter warnings (flutter#421)
Browse files Browse the repository at this point in the history
  • Loading branch information
gaaclarke authored Jul 29, 2021
1 parent 41b51d0 commit 55010fb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
// Fake interface for the logic that this package needs from (web-only) dart:ui.
// This is conditionally exported so the analyzer sees these methods as available.

// ignore: avoid_classes_with_only_static_members
/// Shim for web_ui engine.PlatformViewRegistry
/// https://github.com/flutter/engine/blob/master/lib/web_ui/lib/ui.dart#L62
// ignore: camel_case_types
Expand All @@ -15,6 +16,7 @@ class platformViewRegistry {
String viewTypeId, dynamic Function(int viewId) viewFactory) {}
}

// ignore: avoid_classes_with_only_static_members
/// Shim for web_ui engine.AssetManager.
/// https://github.com/flutter/engine/blob/master/lib/web_ui/lib/src/engine/assets.dart#L12
// ignore: camel_case_types
Expand Down
2 changes: 2 additions & 0 deletions packages/pointer_interceptor/lib/src/shim/dart_ui_fake.dart
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
// Fake interface for the logic that this package needs from (web-only) dart:ui.
// This is conditionally exported so the analyzer sees these methods as available.

// ignore: avoid_classes_with_only_static_members
/// Shim for web_ui engine.PlatformViewRegistry
/// https://github.com/flutter/engine/blob/master/lib/web_ui/lib/ui.dart#L62
// ignore: camel_case_types
Expand All @@ -15,6 +16,7 @@ class platformViewRegistry {
String viewTypeId, dynamic Function(int viewId) viewFactory) {}
}

// ignore: avoid_classes_with_only_static_members
/// Shim for web_ui engine.AssetManager.
/// https://github.com/flutter/engine/blob/master/lib/web_ui/lib/src/engine/assets.dart#L12
// ignore: camel_case_types
Expand Down

0 comments on commit 55010fb

Please sign in to comment.