Toast constructor
Toast({
- String? title,
- String? message,
- Widget? child,
- AlertVariant variant = AlertVariant.info,
- List<
Widget> actions = const [], - EdgeInsets? padding,
- EdgeInsets? margin,
- Key? key,
Implementation
Toast({
this.title,
this.message,
this.child,
this.variant = AlertVariant.info,
this.actions = const [],
this.padding,
this.margin,
super.key,
});