pointer_interceptor 0.9.3+7 pointer_interceptor: ^0.9.3+7 copied to clipboard
A widget to prevent clicks from being swallowed by underlying HtmlElementViews on the web.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add pointer_interceptor
With Flutter:
$ flutter pub add pointer_interceptor
This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get
):
dependencies:
pointer_interceptor: ^0.9.3+7
Alternatively, your editor might support dart pub get
or flutter pub get
. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:pointer_interceptor/pointer_interceptor.dart';