PopupOverlayOptions class
Options to configure a popup attached to an overlay.
- Inheritance
-
- Object
- OverlayOptions
- PopupOverlayOptions
Constructors
- PopupOverlayOptions({Alignment alignment = Alignment.topCenter, bool rotate = true, required Widget popup, Duration animationDuration = const Duration(milliseconds: 300), Curve animationCurve = Curves.easeOut, EdgeInsets? margin})
-
const
Properties
- alignment → Alignment
-
Alignment of popup relative to overlay center.
final
- animationCurve → Curve
-
Curve for popup animation.
final
- animationDuration → Duration
-
Duration of popup animation.
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- margin → EdgeInsets?
-
Margin around popup.
final
- popup → Widget
-
The popup widget.
final
- rotate → bool
-
Whether popup 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? popup, Duration? animationDuration, Curve? animationCurve, EdgeInsets? margin}) → PopupOverlayOptions -
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