ToastWidget constructor
ToastWidget({
- required String message,
- Duration? duration,
- required Alignment alignment,
- TextStyle? textStyle,
- BoxDecoration? background,
- EdgeInsets? padding,
- Offset? offsetAnimationStart,
- Key? key,
Implementation
ToastWidget({
required this.message,
this.duration,
required this.alignment,
this.textStyle,
this.background,
this.padding,
this.offsetAnimationStart,
Key? key,
}) : super(key: key);