MapMarkerTextStyle class abstract
Styling options for the text of a MapMarker.
Constructors
- MapMarkerTextStyle()
-
Creates a default set of styling options for the text of a MapMarker that consists of
the following values:
factory
-
MapMarkerTextStyle.make(double textSize, Color textColor, double textOutlineSize, Color textOutlineColor, List<
MapMarkerTextStylePlacement> placements) -
Creates a set of styling options for the text of a MapMarker.
factory
-
MapMarkerTextStyle.withFont(double textSize, Color textColor, double textOutlineSize, Color textOutlineColor, List<
MapMarkerTextStylePlacement> placements, String fontName) -
Creates a set of styling options for the text of a MapMarker.
factory
Properties
- fontName → String
-
The font used in the text style.
Gets the font name.
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
-
placements
→ List<
MapMarkerTextStylePlacement> -
List of possible text placements relative to the icon of a MapMarker.
Gets the possible text placements relative to the icon of a MapMarker.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- textColor → Color
-
The text color.
Gets the text color.
no setter
- textOutlineColor → Color
-
The text outline color.
Gets the text outline color.
no setter
- textOutlineSize → double
-
The text outline size in pixels.
Gets the text outline size in pixels.
no setter
- textSize → double
-
The text size in pixels.
Gets the text size in pixels.
no setter
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