BehaviorView constructor Null safety

const BehaviorView(
  1. {Key? key,
  2. required double zoomLevel,
  3. required MapLatLng focalLatLng,
  4. required MapController controller,
  5. required MapZoomPanBehavior behavior,
  6. required WillZoomCallback? onWillZoom,
  7. required WillPanCallback? onWillPan}
)

Creates BehaviorView.

Implementation

const BehaviorView({
  Key? key,
  required this.zoomLevel,
  required this.focalLatLng,
  required this.controller,
  required this.behavior,
  required this.onWillZoom,
  required this.onWillPan,
}) : super(key: key);