Toast constructor
const
Toast(
- String text, {
- Key? key,
- ToastIconStyle? iconStyle,
- TextStyle? textStyle,
- Duration? duration,
- Duration? animationDuration,
- FlAnimationStyle? animationStyle,
- GestureTapCallback? onToastTap,
- Color? color,
- Axis? direction,
- AlignmentGeometry? alignment,
- ToastBuilder? builder,
- ToastOptions? options,
Implementation
const Toast(
this.text, {
super.key,
this.iconStyle,
this.textStyle,
this.duration,
this.animationDuration,
this.animationStyle,
this.onToastTap,
this.color,
this.direction,
this.alignment,
this.builder,
this.options,
});