TextStyle class final

The style of placemarks's text.

Constructors

TextStyle({double size = 8.0, Color color = const ui.Color(0xFF000000), double outlineWidth = 1.0, Color outlineColor = const ui.Color(0xFFFFFFFF), TextStylePlacement placement = TextStylePlacement.Center, double offset = 0.0, bool offsetFromIcon = true, bool textOptional = false})
const

Properties

color Color
Text color. default: black
final
hashCode int
The hash code for this object.
no setteroverride
offset double
Text offset in units. Measured either from point or form icon edges, depending on TextStyle.offsetFromIcon value Direction of the offset specified with TextStyle.placement property Ignored when placement is 'Center' default: 0
final
offsetFromIcon bool
When set, TextStyle.offset is a padding between the text and icon edges. default: true
final
outlineColor Color
Outline color. default: white
final
outlineWidth double
Outline width in units. default: 1
final
placement TextStylePlacement
Text placement position. default: Center
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
size double
Text font size in units. default: 8
final
textOptional bool
Allow dropping text but keeping icon during conflict resolution default: false
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override

Operators

operator ==(covariant TextStyle other) bool
The equality operator.
override