CustomSnackbar constructor
CustomSnackbar({
- Key? key,
- required dynamic child,
- required dynamic duration,
- required dynamic animationCurve,
- required dynamic animateFrom,
- required dynamic outerPadding,
- required dynamic elevation,
- required dynamic persist,
- required dynamic onDismissed,
- dynamic distanceToTravelFromStartToEnd,
- dynamic shadowColor,
- dynamic borderRadius,
- dynamic backgroundColor,
Implementation
CustomSnackbar({
super.key,
required child,
required duration,
required animationCurve,
required animateFrom,
required outerPadding,
required elevation,
required persist,
required onDismissed,
distanceToTravelFromStartToEnd,
shadowColor,
borderRadius,
backgroundColor,
}) : super(
child: child,
duration: duration,
animationCurve: animationCurve,
animateFrom: animateFrom,
outerPadding: outerPadding,
elevation: elevation,
persist: persist,
onDismissed: onDismissed,
shadowColor: shadowColor,
borderRadius: borderRadius,
backgroundColor: backgroundColor,
distanceToTravelFromStartToEnd: distanceToTravelFromStartToEnd,
);