PopupLayout class
The generated PopupLayout is intended to be applied to whole map container. The map container is passed down by FlutterMap and it may have rotation applied as well as being scaled up. The scaling up is to make sure that the rotated map container covers the entire map widget in its non-rotated form (as is seen by the user) otherwise hit testing does not work on any Widgets which are visible inside the non-rotated widget but are not within the rotated container's bounds.
Constructors
- PopupLayout({required Alignment rotationAlignment, required Alignment contentAlignment, required Matrix4 transformationMatrix})
Properties
- contentAlignment → Alignment
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- rotationAlignment → Alignment
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- transformationMatrix → Matrix4
-
final
Methods
-
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.
inherited
Static Methods
-
calculate(
{required MapCamera mapCamera, required PopupSpec popupSpec, required PopupSnap snap}) → PopupLayout