GeoformView<T, U extends GeoformMarkerDatum> constructor
const
GeoformView<T, U extends GeoformMarkerDatum> ({
- Key? key,
- required GeoformFormBuilder<
U> formBuilder, - required String title,
- required GeoformMarkerBuilder<
U> ? markerBuilder, - GeoformMarkerDrawerBuilder<
U> ? markerDrawer, - Future<
List< ? records,T> > - LatLng? initialPosition,
- double? initialZoom,
- 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()?,
- Widget? customTileProvider,
- String urlTemplate = 'https://tile.openstreetmap.org/{z}/{x}/{y}.png',
- 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);