AnimatedErrorMessage constructor

const AnimatedErrorMessage({
  1. Key? key,
  2. required Signal<String?> connect,
  3. required Widget to(
    1. BuildContext context,
    2. String error
    ),
  4. FormAnimationEffect effect = FormAnimationEffect.slide,
  5. Duration duration = const Duration(milliseconds: 250),
  6. Curve curve = Curves.easeOutCubic,
})

Creates an animated error message widget.

Implementation

const AnimatedErrorMessage({
  super.key,
  required this.connect,
  required this.to,
  this.effect = FormAnimationEffect.slide,
  this.duration = const Duration(milliseconds: 250),
  this.curve = Curves.easeOutCubic,
});