top_snack_bar
library
Classes
-
TopSnackBar
-
Widget that controls all animations
Functions
-
showTopSnackBar(BuildContext context, Widget child, {Duration animationDuration = const Duration(milliseconds: 1200), Duration reverseAnimationDuration = const Duration(milliseconds: 550), Duration displayDuration = const Duration(milliseconds: 3000), VoidCallback? onTap, OverlayState? overlayState, bool persistent = false, ControllerCallback? onAnimationControllerInit, EdgeInsets padding = const EdgeInsets.all(16), Curve curve = Curves.elasticOut, Curve reverseCurve = Curves.linearToEaseOut, SafeAreaValues safeAreaValues = const SafeAreaValues(), DismissType dismissType = DismissType.onTap, DismissDirection dismissDirection = DismissDirection.up})
→ void
-
Displays a widget that will be passed to
child parameter above the current
contents of the app, with transition animation