CustomSnackbar constructor

CustomSnackbar({
  1. Key? key,
  2. required dynamic child,
  3. required dynamic duration,
  4. required dynamic animationCurve,
  5. required dynamic animateFrom,
  6. required dynamic outerPadding,
  7. required dynamic elevation,
  8. required dynamic persist,
  9. required dynamic onDismissed,
  10. dynamic distanceToTravelFromStartToEnd,
  11. dynamic shadowColor,
  12. dynamic borderRadius,
  13. 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,
      );