DashBubble class
The main class of the plugin.
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
-
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.
inherited
-
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.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
- instance → DashBubble
-
Singleton Pattern
final