BaseSnackBar constructor

BaseSnackBar({
  1. Key? key,
  2. required Widget child,
  3. required Duration duration,
  4. required Curve animationCurve,
  5. required AnimateFrom animateFrom,
  6. required double elevation,
  7. required bool persist,
  8. required VoidCallback onDismissed,
  9. required EdgeInsetsGeometry outerPadding,
  10. BorderRadius? borderRadius,
  11. Color? shadowColor,
  12. Color? backgroundColor,
  13. 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,
});