FlutterMapAnimatedContainer constructor
const
FlutterMapAnimatedContainer({
- Key? key,
- required Widget? child,
- required MapCamera camera,
- required LatLng point,
- Alignment alignment = Alignment.center,
- bool rotate = true,
- EdgeInsetsGeometry? margin,
- double? width,
- double? height,
- Widget animationBuilder(
- BuildContext context,
- Animation<
double> anim, - Widget? child
- Duration animationDuration = const Duration(milliseconds: 300),
- Curve animationCurve = Curves.easeOut,
- Animation<
double> ? animation, - AnimationController? controller,
- bool animateOnMount = true,
- bool restartOnPointChange = true,
- bool restartOnChildChange = true,
- bool glow = false,
- Widget glowOverlay = const GlowOverlay(),
- Offset pixelOffset = Offset.zero,
- void onMeasured()?,
Implementation
const FlutterMapAnimatedContainer({
super.key,
required this.child,
required this.camera,
required this.point,
this.alignment = Alignment.center,
this.rotate = true,
this.margin,
this.width,
this.height,
this.animationBuilder,
this.animationDuration = const Duration(milliseconds: 300),
this.animationCurve = Curves.easeOut,
this.animation,
this.controller,
this.animateOnMount = true,
this.restartOnPointChange = true,
this.restartOnChildChange = true,
this.glow = false,
this.glowOverlay = const GlowOverlay(),
this.pixelOffset = Offset.zero,
this.onMeasured,
}) : assert(animation == null || controller == null,
'Use either animation OR controller, not both.');