FloatwingPlugin class

Constructors

FloatwingPlugin()
factory

Properties

currentWindow Window?
return current window for window's engine
no setter
hashCode int
The hash code for this object.
no setterinherited
instance FloatwingPlugin
no setter
isWindow bool
i'm window engine, default is the main engine if we sync success, we set to true.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
windows Map<String, Window>
reutrn all windows only works for main engine
no setter

Methods

checkPermission() Future<bool>
cleanCache() Future<bool>
createWindow(String? id, WindowConfig config, {bool start = false, Window? window}) Future<Window?>
create window to create a window
ensureWindow() Future<Window?>
ensure window make sure the window object sync from android call this as soon at posible when engine start you should only call this in the window engine if only main as entry point, it's ok to call this and return nothing
initialize() Future<bool>
internalCreateWindow(String? id, WindowConfig config, {bool start = false, Window? window, required MethodChannel channel, String name = "plugin.create_window"}) Future<Window?>
isServiceRunning() Future<bool>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
on(EventType type, WindowListener callback) FloatwingPlugin
on register event handlers for all windows or we can use stream mode
openPermissionSetting() Future<bool>
startService() Future<bool>
syncWindows() Future<bool>
sync make the plugin to sync windows from services
toString() String
A string representation of this object.
inherited

Operators

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

Constants

channelID → const String