PinConfig constructor
const
PinConfig({
- Color? backgroundColor,
- Color? borderColor,
- AdvancedMarkerGlyph? glyph,
Constructs a PinConfig that is created from a pin configuration.
The backgroundColor and borderColor are used to define the color of
the standard pin marker.
The glyph parameter is used to define the glyph that is displayed on the
pin marker.
At least one of the parameters must not be null.
Implementation
const PinConfig({this.backgroundColor, this.borderColor, this.glyph})
: assert(
backgroundColor != null || borderColor != null || glyph != null,
'Cannot create PinConfig with all parameters being null.',
),
super._();