MarkerLabelOptions class

Represents MarkerLabelOptions interface

Constructors

MarkerLabelOptions({required String? text, String? className, String? color, String? fontFamily, String? fontSize, String? fontWeight})
Default constructor.
MarkerLabelOptions.fromJson(Map<String, dynamic> json)
Create object from the JSON

Properties

className String?
A custom className property to be applied to the label’s element.
getter/setter pair
color String?
The color of the label text. (black by default).
getter/setter pair
fontFamily String?
The font family for the label.
getter/setter pair
fontSize String?
The font size for the label.
getter/setter pair
fontWeight String?
The font weight for the label.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
text String?
The text to be displayed in the label.
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, String>
Returns the JSON representation of the object.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited