inappwebview_script_guard 0.1.1
inappwebview_script_guard: ^0.1.1 copied to clipboard
Detect silently-failed JavaScript injection in flutter_inappwebview: canary-verified script loading plus commit-time AST linting of embedded JS.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add inappwebview_script_guardThis will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):
dependencies:
inappwebview_script_guard: ^0.1.1Alternatively, your editor might support flutter pub get. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:inappwebview_script_guard/inappwebview_script_guard.dart';