BubbleOptions class
BubbleOptions is a class that contains all the customizable options for the bubble passed to the DashBubble.startBubble method.
Constructors
- BubbleOptions({String? notificationTitle, String? notificationText, String? notificationIcon, String? bubbleIcon, String? closeIcon, double startLocationX = 0, double startLocationY = 200, double bubbleSize = 60, bool enableClose = true, bool enableAnimateToEdge = true, bool enableBottomShadow = true, bool keepAliveWhenAppExit = false})
Properties
- bubbleIcon → String?
-
The icon of the bubble.
final
- bubbleSize → double
-
The size of the bubble.
final
- closeIcon → String?
-
The icon of the close button.
final
- enableAnimateToEdge → bool
-
Whether to animate the bubble to the edge of the screen when it is dragged to the edge of the screen or not.
final
- enableBottomShadow → bool
-
Whether to show the bottom shadow behind the close button of the bubble or not.
final
- enableClose → bool
-
Whether to show the close button or not.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- keepAliveWhenAppExit → bool
-
Whether to keep the bubble alive when the app is closed or not.
final
- notificationIcon → String?
-
The icon of the service notification.
final
- notificationText → String?
-
The text of the service notification.
final
- notificationTitle → String?
-
The title of the service notification.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- startLocationX → double
-
The initial starting position of the bubble on the x axis.
final
- startLocationY → double
-
The initial starting position of the bubble on the y axis.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited