SnackbarWidget constructor

SnackbarWidget({
  1. Key? key,
  2. required String title,
  3. required String subTitle,
  4. required TextStyle titleStyle,
  5. required TextStyle subTitleStyle,
  6. required Color backgroundColor,
  7. required Duration duration,
  8. required EdgeInsetsGeometry contentPadding,
  9. required EdgeInsetsGeometry outerPadding,
  10. required BorderRadius borderRadius,
  11. required Curve animationCurve,
  12. required AnimateFrom animateFrom,
  13. Widget? titleWidget,
  14. Widget? subTitleWidget,
  15. Widget? leading,
  16. Widget? trailing,
})

Implementation

SnackbarWidget({
  super.key,
  required this.title,
  required this.subTitle,
  required this.titleStyle,
  required this.subTitleStyle,
  required this.backgroundColor,
  required this.duration,
  required this.contentPadding,
  required this.outerPadding,
  required this.borderRadius,
  required this.animationCurve,
  required this.animateFrom,
  this.titleWidget,
  this.subTitleWidget,
  this.leading,
  this.trailing,
});