FastAnimate constructor
const
FastAnimate({
- Key? key,
- required FastAnimateType type,
- required Widget child,
- Duration delay = const Duration(milliseconds: 0),
- Duration duration = const Duration(milliseconds: 200),
use this widget to animate your widgets
example:
FastAnimate(
type: FastAnimateType.fadeInDownBig,
duration: const Duration(seconds: 1),
child: Text('Text H1', style: context.H1),
),
Implementation
const FastAnimate({
super.key,
required this.type,
required this.child,
this.delay = const Duration(milliseconds: 0),
this.duration = const Duration(milliseconds: 200),
});