MapColorScheme enum

Tono del mapa.

Sustituye a la pareja de recursos «claro» y «oscuro» que había que crear a mano en la generación anterior y mantener sincronizados. Ahora es el mismo estilo con otro parámetro, y lo renderiza el servidor: no es un filtro de color sobre teselas claras, así que las etiquetas siguen siendo legibles.

Inheritance
Available extensions

Values

light → const MapColorScheme

Fondo claro. Es el valor por defecto del servicio.

const MapColorScheme('Light')
dark → const MapColorScheme

Fondo oscuro.

const MapColorScheme('Dark')

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
name String

Available on Enum, provided by the EnumName extension

The name of the enum value.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
wireName String
El literal que viaja en la URL.
final

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

Constants

values → const List<MapColorScheme>
A constant List of the values in this enum, in order of their declaration.