MethodChannelDelegate class
ExtendedPlatformViewDelegate class that manages the associated MethodChannel to communicate with native platform view.
- Mixed-in types
Constructors
- MethodChannelDelegate({void onCreate(MethodChannel)?, void onDispose(MethodChannel)?})
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- onCreate → void Function(MethodChannel)?
-
final
- onDispose → void Function(MethodChannel)?
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
getMethodChannel(
) → Future< MethodChannel> -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
onPlatformViewCreated(
String viewType, int id) → void -
Called when the native view has been created.
override
-
onPlatformViewDispose(
) → void -
Called when the native view has been disposed.
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited