configure method
void
configure({
- required SimpleMapOptions options,
- Animation? animation,
- Animation? transformAnimation,
- State<
SimpleMap> ? state,
Configure
Implementation
void configure({
required SimpleMapOptions options,
Animation? animation,
Animation? transformAnimation,
State<SimpleMap>? state,
}) {
_state = state;
_defaultPointColor = options.pointColor ?? _defaultPointColor;
_startPointColor = options.startPointColor ?? _startPointColor;
_projection = options.projection;
_animation = animation as AnimationController? ?? _animation;
_transformAnimation =
transformAnimation as AnimationController? ?? _transformAnimation;
}