AnimatedMapController constructor
AnimatedMapController({
- required TickerProvider vsync,
- MapController? mapController,
- Duration duration = const Duration(milliseconds: 500),
- 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;