flash library

Classes

Flash<T>
A highly customizable widget so you can notify your user when you fell like he needs a beautiful explanation.
FlashBar
FlashController<T>

Enums

FlashPosition
Indicates if flash is going to start at the top or at the bottom.
FlashStyle
Indicates if flash will be attached to the edge of the screen or not
HorizontalDismissDirection
The direction in which a HorizontalDismissDirection can be dismissed.

Functions

showFlash<T>({required BuildContext context, required FlashBuilder<T> builder, Duration? duration, Duration transitionDuration = const Duration(milliseconds: 500), bool persistent = true, WillPopCallback? onWillPop}) Future<T?>

Typedefs

FlashBuilder<T> = Widget Function(BuildContext context, FlashController<T> controller)