FloatingWindowAndroidPlatform class
abstract
- Inheritance
-
- Object
- PlatformInterface
- FloatingWindowAndroidPlatform
- Implementers
Properties
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
overlayListener
→ Stream
-
Get floating window event listener
no setter
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
cleanupPreloadedEngine()
→ Future<bool>
-
Clean up preloaded Flutter engine
-
closeOverlay()
→ Future<bool>
-
Close floating window
-
getOverlayPosition()
→ Future<Map<String, dynamic>>
-
Get current floating window position
-
getPlatformVersion()
→ Future<String?>
-
-
isFlutterEnginePreloaded()
→ Future<bool>
-
Check if Flutter engine is preloaded
-
isMainAppRunning()
→ Future<bool>
-
Check if main app is running in foreground
-
isPermissionGranted()
→ Future<bool>
-
Check if floating window permission is granted
-
isShowing()
→ Future<bool>
-
Check if floating window is currently showing
-
moveOverlay(Map<String, dynamic> position)
→ Future<bool>
-
Move floating window position
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
openMainApp([Map<String, dynamic>? params])
→ Future<bool>
-
Open main app from floating window
-
preloadFlutterEngine(String dartEntryPoint)
→ Future<bool>
-
Preload Flutter engine for faster overlay startup
-
requestPermission()
→ Future<bool>
-
Request floating window permission
-
resizeOverlay(int width, int height)
→ Future<bool>
-
Resize floating window
-
shareData(dynamic data)
→ Future<bool>
-
Share data between floating window and main app
-
showOverlay({int? height, int? width, String? alignment, String? notificationVisibility, String? flag, String? overlayTitle, String? overlayContent, bool? enableDrag, String? positionGravity, Map<String, dynamic>? startPosition})
→ Future<bool>
-
Show floating window
-
toString()
→ String
-
A string representation of this object.
inherited
-
updateFlag(String flag)
→ Future<bool>
-
Update floating window flag