Geoform<T, U extends GeoformMarkerDatum> constructor
const
Geoform<T, U extends GeoformMarkerDatum> ({
- Key? key,
- required GeoformFormBuilder<
U> formBuilder, - required String title,
- Future<
List< ? records,T> > - List<
U> ? markers, - GeoformMarkerBuilder<
U> ? markerBuilder, - LatLng? initialPosition,
- double? initialZoom,
- GeoformMarkerDrawerBuilder<
U> ? markerDrawerBuilder, - void onRecordSelected(
- T record
- void onMarkerSelected(
- U marker
- bool registerOnlyWithMarker = false,
- bool followUserPositionAtStart = true,
- bool registerWithManualSelection = false,
- GeoformBottomDisplayBuilder<
U> ? bottomInformationBuilder, - GeoformBottomActionsBuilder<
U> ? bottomActionsBuilder, - GeoformBottomInterface<
U> ? bottomInterface, - void onRegisterPressed()?,
- void updatePosition(
- LatLng?
- void updateZoom()?,
- List<
GeoformActionsBuilder< widgetsOnSelectedMarker = const [],U> > - List<
GeoformActionsBuilder< additionalActionWidgets = const [],U> > - void updateThenForm()?,
- List<
FastPolygon> polygonsToDraw = const [], - List<
CircleMarker> circlesToDraw = const [], - DownloadableRegion<
List< ? region,Object> > - String? regionName,
- Widget? customTileProvider,
- MapProvider mapProvider = MapProvider.openStreetMap,
- String? urlTemplate,
- bool setManualModeOnAction = false,
Implementation
const Geoform({
Key? key,
required this.formBuilder,
required this.title,
this.records,
this.markers,
this.markerBuilder,
this.initialPosition,
this.initialZoom,
this.markerDrawerBuilder,
this.onRecordSelected,
this.onMarkerSelected,
this.registerOnlyWithMarker = false,
this.followUserPositionAtStart = true,
this.registerWithManualSelection = false,
this.bottomInformationBuilder,
this.bottomActionsBuilder,
this.bottomInterface,
this.onRegisterPressed,
this.updatePosition,
this.updateZoom,
this.widgetsOnSelectedMarker = const [],
this.additionalActionWidgets = const [],
this.updateThenForm,
this.polygonsToDraw = const [],
this.circlesToDraw = const [],
this.region,
this.regionName,
this.customTileProvider,
this.mapProvider = MapProvider.openStreetMap,
this.urlTemplate,
this.setManualModeOnAction = false,
}) : super(key: key);