FastAnimate constructor

const FastAnimate({
  1. Key? key,
  2. required FastAnimateType type,
  3. required Widget child,
  4. Duration delay = const Duration(milliseconds: 0),
  5. 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),
});