StyledToastTheme constructor

const StyledToastTheme({
  1. Key? key,
  2. required Widget child,
  3. TextAlign? textAlign,
  4. TextDirection? textDirection,
  5. BorderRadius? borderRadius,
  6. Color? backgroundColor,
  7. EdgeInsets? textPadding,
  8. TextStyle? textStyle,
  9. ShapeBorder? shapeBorder,
  10. Duration? duration,
  11. Duration? animDuration,
  12. StyledToastPosition? toastPositions,
  13. Alignment? alignment,
  14. Axis? axis,
  15. Offset? startOffset,
  16. Offset? endOffset,
  17. Offset? reverseStartOffset,
  18. Offset? reverseEndOffset,
  19. StyledToastAnimation? toastAnimation,
  20. StyledToastAnimation? reverseAnimation,
  21. Curve? curve,
  22. Curve? reverseCurve,
  23. bool? dismissOtherOnShow,
  24. VoidCallback? onDismiss,
  25. bool? fullWidth,
  26. bool? isHideKeyboard,
  27. CustomAnimationBuilder? animationBuilder,
  28. CustomAnimationBuilder? reverseAnimBuilder,
  29. bool? isIgnoring,
  30. OnInitStateCallback? onInitState,
})

Implementation

const StyledToastTheme({
  super.key,
  required super.child,
  this.textAlign,
  this.textDirection,
  this.borderRadius,
  this.backgroundColor,
  this.textPadding,
  this.textStyle,
  this.shapeBorder,
  this.duration,
  this.animDuration,
  this.toastPositions,
  this.alignment,
  this.axis,
  this.startOffset,
  this.endOffset,
  this.reverseStartOffset,
  this.reverseEndOffset,
  this.toastAnimation,
  this.reverseAnimation,
  this.curve,
  this.reverseCurve,
  this.dismissOtherOnShow,
  this.onDismiss,
  this.fullWidth,
  this.isHideKeyboard,
  this.animationBuilder,
  this.reverseAnimBuilder,
  this.isIgnoring,
  this.onInitState,
});