Geoform<T, U extends GeoformMarkerDatum> constructor

const Geoform<T, U extends GeoformMarkerDatum>({
  1. Key? key,
  2. required GeoformFormBuilder<U> formBuilder,
  3. required String title,
  4. Future<List<T>>? records,
  5. List<U>? markers,
  6. GeoformMarkerBuilder<U>? markerBuilder,
  7. LatLng? initialPosition,
  8. double? initialZoom,
  9. GeoformMarkerDrawerBuilder<U>? markerDrawerBuilder,
  10. void onRecordSelected(
    1. T record
    )?,
  11. void onMarkerSelected(
    1. U marker
    )?,
  12. bool registerOnlyWithMarker = false,
  13. bool followUserPositionAtStart = true,
  14. bool registerWithManualSelection = false,
  15. GeoformBottomDisplayBuilder<U>? bottomInformationBuilder,
  16. GeoformBottomActionsBuilder<U>? bottomActionsBuilder,
  17. GeoformBottomInterface<U>? bottomInterface,
  18. void onRegisterPressed(
    1. BuildContext,
    2. GeoformContext<U>
    )?,
  19. void updatePosition(
    1. LatLng?
    )?,
  20. void updateZoom(
    1. double?
    )?,
  21. List<GeoformActionsBuilder<U>> widgetsOnSelectedMarker = const [],
  22. List<GeoformActionsBuilder<U>> additionalActionWidgets = const [],
  23. void updateThenForm()?,
  24. List<FastPolygon> polygonsToDraw = const [],
  25. List<CircleMarker> circlesToDraw = const [],
  26. DownloadableRegion<List<Object>>? region,
  27. String? regionName,
  28. Widget? customTileProvider,
  29. MapProvider mapProvider = MapProvider.openStreetMap,
  30. String? urlTemplate,
  31. 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);