MapViewerWidget constructor
const
MapViewerWidget({
- Key? key,
- required List<
Widget> children, - required MapOptions options,
- CompassButtonDisplay compassButtonDisplay = CompassButtonDisplay.auto,
- CenterOnLocationUpdate defaultCenterOnLocationUpdate = CenterOnLocationUpdate.always,
- TurnOnHeadingUpdate defaultTurnOnHeadingUpdate = TurnOnHeadingUpdate.never,
- MapController? mapController,
- List<
Widget> nonRotatedChildren = const [],
A constructor of MapViewerWidget class.
Implementation
const MapViewerWidget({
super.key,
required this.children,
required this.options,
this.navigationButtonVisible = true,
this.compassButtonDisplay = CompassButtonDisplay.auto,
this.defaultCenterOnLocationUpdate = CenterOnLocationUpdate.always,
this.defaultTurnOnHeadingUpdate = TurnOnHeadingUpdate.never,
this.defaultNavigationStatus = NavigationStatus.northUp,
this.mapController,
this.nonRotatedChildren = const [],
});