GeoformView<T, U extends GeoformMarkerDatum> constructor

const GeoformView<T, U extends GeoformMarkerDatum>({
  1. Key? key,
  2. required GeoformFormBuilder<U> formBuilder,
  3. required String title,
  4. required GeoformMarkerBuilder<U>? markerBuilder,
  5. GeoformMarkerDrawerBuilder<U>? markerDrawer,
  6. Future<List<T>>? records,
  7. LatLng? initialPosition,
  8. double? initialZoom,
  9. void onRecordSelected(
    1. T record
    )?,
  10. void onMarkerSelected(
    1. U marker
    )?,
  11. bool registerOnlyWithMarker = false,
  12. bool followUserPositionAtStart = true,
  13. bool registerWithManualSelection = false,
  14. GeoformBottomDisplayBuilder<U>? bottomInformationBuilder,
  15. GeoformBottomActionsBuilder<U>? bottomActionsBuilder,
  16. GeoformBottomInterface<U>? bottomInterface,
  17. void onRegisterPressed(
    1. BuildContext,
    2. GeoformContext<U>
    )?,
  18. void updatePosition(
    1. LatLng?
    )?,
  19. void updateZoom(
    1. double?
    )?,
  20. List<GeoformActionsBuilder<U>> widgetsOnSelectedMarker = const [],
  21. List<GeoformActionsBuilder<U>> additionalActionWidgets = const [],
  22. void updateThenForm()?,
  23. Widget? customTileProvider,
  24. String urlTemplate = 'https://tile.openstreetmap.org/{z}/{x}/{y}.png',
  25. bool setManualModeOnAction = false,
})

Implementation

const GeoformView({
  Key? key,
  required this.formBuilder,
  required this.title,
  required this.markerBuilder,
  this.markerDrawer,
  this.records,
  this.initialPosition,
  this.initialZoom,
  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.customTileProvider,
  this.urlTemplate = 'https://tile.openstreetmap.org/{z}/{x}/{y}.png',
  this.setManualModeOnAction = false,
}) : super(key: key);