StyledToastTheme constructor
const
StyledToastTheme({
- Key? key,
- required Widget child,
- TextAlign? textAlign,
- TextDirection? textDirection,
- BorderRadius? borderRadius,
- Color? backgroundColor,
- EdgeInsets? textPadding,
- TextStyle? textStyle,
- ShapeBorder? shapeBorder,
- Duration? duration,
- Duration? animDuration,
- StyledToastPosition? toastPositions,
- Alignment? alignment,
- Axis? axis,
- Offset? startOffset,
- Offset? endOffset,
- Offset? reverseStartOffset,
- Offset? reverseEndOffset,
- StyledToastAnimation? toastAnimation,
- StyledToastAnimation? reverseAnimation,
- Curve? curve,
- Curve? reverseCurve,
- bool? dismissOtherOnShow,
- VoidCallback? onDismiss,
- bool? fullWidth,
- bool? isHideKeyboard,
- CustomAnimationBuilder? animationBuilder,
- CustomAnimationBuilder? reverseAnimBuilder,
- bool? isIgnoring,
- 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,
});