MethodChannelMultiWindowNative class

An implementation of MultiWindowNativePlatform that uses method channels.

Inheritance

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

createAndRegisterWindow({required String routeName, required String theme, String? argsJson, void onCreation()?}) Future<void>
override
getMessengerCount() Future<int>
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
notifyAllWindows(String method, dynamic arguments) Future<void>
Send data to native
override
notifyUiReady() Future<bool>
override
notifyWindowClose({required bool isMainWindow, required String windowId}) Future<void>
override
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Properties

messenger BinaryMessenger
The method channel used to interact with the native platform.
final
methodChannel MethodChannel
final

Static Methods

handleMethodCall(MethodCall call) Future<void>
init(int windowId) → void
registerListener(String methodName, MethodCallHandler handler) String
unregisterListener({required String methodName, required String id}) → void