MapWidgetConfiguration class

A container object for configuration options when building a widget.

This is intended for use as a parameter in platform interface methods, to allow adding new configuration options to existing methods.

Annotations

Constructors

MapWidgetConfiguration({required CameraPosition initialCameraPosition, required TextDirection textDirection, Set<Factory<OneSequenceGestureRecognizer>> gestureRecognizers = const <Factory<OneSequenceGestureRecognizer>>{}})
Creates a new configuration with all the given settings.
const

Properties

gestureRecognizers Set<Factory<OneSequenceGestureRecognizer>>
Gesture recognizers to add to the widget.
final
hashCode int
The hash code for this object.
no setterinherited
initialCameraPosition CameraPosition
The initial camera position to display.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
textDirection TextDirection
The text direction for the widget.
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