BaseSnackBar constructor
BaseSnackBar({
- Key? key,
- required Widget child,
- required Duration duration,
- required Curve animationCurve,
- required AnimateFrom animateFrom,
- required double elevation,
- required bool persist,
- required VoidCallback onDismissed,
- required EdgeInsetsGeometry outerPadding,
- BorderRadius? borderRadius,
- Color? shadowColor,
- Color? backgroundColor,
- double? distanceToTravelFromStartToEnd,
Implementation
BaseSnackBar({
super.key,
required this.child,
required this.duration,
required this.animationCurve,
required this.animateFrom,
required this.elevation,
required this.persist,
required this.onDismissed,
required this.outerPadding,
this.borderRadius,
this.shadowColor,
this.backgroundColor,
this.distanceToTravelFromStartToEnd,
});