SnackbarWidget constructor
SnackbarWidget({
- Key? key,
- required String title,
- required String subTitle,
- required TextStyle titleStyle,
- required TextStyle subTitleStyle,
- required Color backgroundColor,
- required Duration duration,
- required EdgeInsetsGeometry contentPadding,
- required EdgeInsetsGeometry outerPadding,
- required BorderRadius borderRadius,
- required Curve animationCurve,
- required AnimateFrom animateFrom,
- Widget? titleWidget,
- Widget? subTitleWidget,
- Widget? leading,
- 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,
});