DashBubble class

The main class of the plugin.


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


hasOverlayPermission() Future<bool>
Check if draw over other apps (overlay) permission is granted or not.
hasPostNotificationsPermission() Future<bool>
Check if the post notifications permission is granted or not.
isRunning() Future<bool>
Check if the bubble is currently running.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
requestOverlayPermission() Future<bool>
Request permission to draw over other apps (overlay permission).
requestPostNotificationsPermission() Future<bool>
Request post notifications permission (Used to customize the service notification)
startBubble({BubbleOptions? bubbleOptions, NotificationOptions? notificationOptions, dynamic onTap()?, dynamic onTapDown(double x, double y)?, dynamic onTapUp(double x, double y)?, dynamic onMove(double x, double y)?}) Future<bool>
Start the bubble.
stopBubble() Future<bool>
Stop the bubble.
toString() String
A string representation of this object.


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

Static Properties

instance DashBubble
Singleton Pattern