MapAddon class abstract
Allows to add components on the VectorMap
- Implementers
Constructors
- MapAddon({EdgeInsetsGeometry? padding, Decoration? decoration, EdgeInsetsGeometry? margin})
Properties
- decoration → Decoration?
-
The decoration to paint behind the MapAddon widget.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- margin → EdgeInsetsGeometry?
-
Empty space to surround the decoration and MapAddon widget.
final
- padding → EdgeInsetsGeometry?
-
Empty space to inscribe inside the decoration. The MapAddon widget, if any, is
placed inside this padding.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
buildWidget(
{required BuildContext context, required VectorMapApi mapApi, MapFeature? hover}) → Widget - Builds the Widget for this addon
-
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