MapStyle class Null safety

Implemented types

Constructors

MapStyle({StyleElement? element, StyleFeature? feature, required List<StyleRule> rules})
Customize the presentation of the standard Google map by applying your own styles when using the Maps Static API. You can change the visual display of features such as roads, parks, built-up areas, and other points of interest. Change their color or style to emphasize particular content, complement surrounding content on the page, or even hide features completely.
const

Properties

element StyleElement?
final
feature StyleFeature?
final
hashCode int
The hash code for this object. [...]
read-only, inherited
rules List<StyleRule>
Style rules are applied in the order that you specify. Do not combine multiple operations into a single style operation. Instead, define each operation as a separate entry in the style array. [...]
final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
A string representation of this object. [...]
inherited
toUrlString() String
override

Operators

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