ToastStyle constructor
const
ToastStyle({
- Color? backgroundColor,
- Color? foregroundColor,
- BorderRadius? borderRadius,
- Axis? direction,
- TextStyle? textStyle,
- IconThemeData? iconTheme,
- EdgeInsetsGeometry? iconPadding,
- AnimationConfig? enterAnimation,
- AnimationConfig? leaveAnimation,
Implementation
const ToastStyle({
this.backgroundColor,
this.foregroundColor,
this.borderRadius,
this.direction,
this.textStyle,
this.iconTheme,
this.iconPadding,
AnimationConfig? enterAnimation,
AnimationConfig? leaveAnimation,
}) : super(enterAnimation, leaveAnimation);