BubbleOptions class
BubbleOptions is a class that contains all the customizable options for the bubble passed to the DashBubble.startBubble method.
Constructors
- BubbleOptions({String? bubbleIcon, String? closeIcon, double startLocationX = 0, double startLocationY = 200, double bubbleSize = 60, double opacity = 1, bool enableClose = true, CloseBehavior closeBehavior = CloseBehavior.following, double distanceToClose = 100, 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
- closeBehavior → CloseBehavior
-
final
- closeIcon → String?
-
The icon of the close button.
final
- distanceToClose → double
-
The distance between the bubble and the bottom edge of the screen to show 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
- opacity → double
-
The opacity of the bubble and the close button.
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