AnimatedMapController constructor

AnimatedMapController({
  1. required TickerProvider vsync,
  2. MapController? mapController,
  3. Duration duration = const Duration(milliseconds: 500),
  4. Curve curve = Curves.fastOutSlowIn,
})

Creates a MapController that provides animated methods.

Implementation

AnimatedMapController({
  required this.vsync,
  MapController? mapController,
  this.duration = const Duration(milliseconds: 500),
  this.curve = Curves.fastOutSlowIn,
})  : mapController = mapController ?? MapController(),
      _internal = mapController == null;