GeoformState.initial constructor
GeoformState.initial({
- String? regionName,
- MapProvider? mapProvider,
- LatLng? initialPosition,
- required AnimationController animationController,
Implementation
GeoformState.initial({
String? regionName,
MapProvider? mapProvider,
LatLng? initialPosition,
required AnimationController animationController,
}) : this._(
context: GeoformContext(
currentUserPosition: LatLng(0.01, 0.01),
currentMapPosition: LatLng(0.01, 0.01),
),
animationController: animationController,
mapController: MapController(),
currentMapPosition: initialPosition ?? LatLng(50, 50),
regionName: regionName,
mapProvider: mapProvider ?? MapProvider.openStreetMap,
);