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> > - List<
U> ? markers, - LatLng? initialPosition,
- double? initialZoom,
- void onRecordSelected(
- T record
- void onMarkerSelected(
- U marker
- bool registerOnlyWithMarker = false,
- bool followUserPositionAtStart = true,
- bool registerWithManualSelection = false,
- GeoformBottomDisplayBuilder<
GeoformMarkerDatum> ? bottomInformationBuilder, - GeoformBottomActionsBuilder<
GeoformMarkerDatum> ? bottomActionsBuilder, - GeoformBottomInterface<
GeoformMarkerDatum> ? bottomInterface, - void onRegisterPressed()?,
- void updatePosition(
- LatLng?
- void updateZoom()?,
- List<
Widget Function(U?)> widgetsOnSelectedMarker = const [], - List<
Widget Function(GeoformState, void (U), void (LatLng, double))> additionalActionWidgets = const [], - void updateThenForm()?,
- List<
FastPolygon> polygonsToDraw = const [], - List<
CircleMarker> circlesToDraw = const [], - 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.markers,
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.polygonsToDraw = const [],
this.circlesToDraw = const [],
this.customTileProvider,
this.urlTemplate = 'https://tile.openstreetmap.org/{z}/{x}/{y}.png',
this.setManualModeOnAction = false,
}) : super(key: key);