MapControllerImpl constructor
MapControllerImpl({
- MapOptions? options,
- TickerProvider? vsync,
Constructor of the MapController implementation for internal usage.
Implementation
MapControllerImpl({MapOptions? options, TickerProvider? vsync})
: super(
_MapControllerState(
options: options,
camera: options == null ? null : MapCamera.initialCamera(options),
animationController:
vsync == null ? null : AnimationController(vsync: vsync),
),
) {
value.animationController?.addListener(_handleAnimation);
}