Legend class abstract
Abstract legend
Allows customize padding, margin and decoration
- Inheritance
- Implementers
Constructors
- Legend({required MapLayer layer, EdgeInsetsGeometry? padding, EdgeInsetsGeometry? margin, Decoration? decoration})
- Builds a legend
Properties
- decoration → Decoration?
-
The decoration to paint behind the MapAddon widget.
finalinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- layer → MapLayer
-
final
- margin → EdgeInsetsGeometry?
-
Empty space to surround the decoration and MapAddon widget.
finalinherited
- padding → EdgeInsetsGeometry?
-
Empty space to inscribe inside the decoration. The MapAddon widget, if any, is
placed inside this padding.
finalinherited
- 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
inherited
-
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