WebScript class
Class to create a script that can be run on Flutter Web.
name provides a unique identifier for the script. Note: It must be unique!
Otherwise your script may not be called when using controller.evaluateJavascriptWeb
.
script provides the script itself. If you'd like to return a value back to
Dart, you can do that via a postMessage call (see the README for an example).
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited