AnimatedValueSlot<T extends num> constructor
- Key? key,
- required Signal<
T> connect, - required Widget to(
- BuildContext context,
- double animatedValue
- Duration duration = const Duration(milliseconds: 500),
- Curve curve = Curves.easeOutCubic,
- String format(
- double value
- VoidCallback? onAnimationComplete,
Implementation
const AnimatedValueSlot({
super.key,
required this.connect,
required this.to,
this.duration = const Duration(milliseconds: 500),
this.curve = Curves.easeOutCubic,
this.format,
this.onAnimationComplete,
});