ActionOverlayOptions class
Options to configure an action widget attached to an overlay.
- Inheritance
-
- Object
- OverlayOptions
- ActionOverlayOptions
Constructors
- ActionOverlayOptions({Alignment alignment = Alignment.topRight, bool rotate = true, required Widget action, Duration animationDuration = const Duration(milliseconds: 150), Curve animationCurve = Curves.easeInOut, EdgeInsets? margin})
-
const
Properties
- action → Widget
-
The action widget.
final
- alignment → Alignment
-
Alignment of action relative to overlay.
final
- animationCurve → Curve
-
Curve for action animation.
final
- animationDuration → Duration
-
Duration of action animation.
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- margin → EdgeInsets?
-
Margin around action widget.
final
- rotate → bool
-
Whether action should rotate with map.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
copyWith(
{Alignment? alignment, bool? rotate, Widget? action, Duration? animationDuration, Curve? animationCurve, EdgeInsets? margin}) → ActionOverlayOptions -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override