ToastStyle constructor

const ToastStyle({
  1. Color? backgroundColor,
  2. Color? foregroundColor,
  3. BorderRadius? borderRadius,
  4. Axis? direction,
  5. TextStyle? textStyle,
  6. IconThemeData? iconTheme,
  7. EdgeInsetsGeometry? iconPadding,
  8. AnimationConfig? enterAnimation,
  9. 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);