ToastOptions class
Constructors
-
ToastOptions({Color? color, GestureTapCallback? onToastTap, Duration duration = const Duration(milliseconds: 1500), FlAnimationStyle? animationStyle, Axis? direction, ToastBuilder? builder, Duration? animationDuration, EdgeInsetsGeometry? padding, Color? backgroundColor, Color? foregroundColor, AlignmentGeometry? alignment, GestureTapCallback? onModalTap, double gaussian = 0, bool? ignoring, bool? absorbing, double? elevation, Color? shadowColor, TextStyle? textStyle, BorderRadiusGeometry? borderRadius, bool? borderOnForeground, ShapeBorder? shape, BoxConstraints? constraints, bool safeLTRB = true, bool resizeToAvoidBottomInset = true, Curve insetAnimationCurve = Curves.decelerate, Duration insetAnimationDuration = const Duration(milliseconds: 100)})
-
const
-
ToastOptions.extended({Color? color = const Color(0xFFFFFFFF), GestureTapCallback? onToastTap, Duration duration = const Duration(milliseconds: 1500), FlAnimationStyle? animationStyle, Duration? animationDuration = const Duration(milliseconds: 300), Axis? direction = Axis.vertical, ToastBuilder? builder, EdgeInsetsGeometry? padding = const EdgeInsets.all(10), BoxConstraints? constraints, Color? backgroundColor, Color? foregroundColor = const Color(0xFF000000), AlignmentGeometry? alignment = Alignment.center, GestureTapCallback? onModalTap, double gaussian = 0, bool? ignoring, bool? absorbing, double? elevation, Color? shadowColor, TextStyle? textStyle = const TextStyle(color: Color(0xFFFFFFFF)), BorderRadiusGeometry? borderRadius = const BorderRadius.all(Radius.circular(4)), ShapeBorder? shape, bool? borderOnForeground, bool safeLTRB = true, bool resizeToAvoidBottomInset = true, Curve insetAnimationCurve = Curves.decelerate, Duration insetAnimationDuration = const Duration(milliseconds: 100)})
-
const
Methods
-
copyWith({BoxConstraints? constraints, GestureTapCallback? onToastTap, TextStyle? textStyle, Duration? duration, Color? color, Axis? direction, ToastBuilder? builder, GestureTapCallback? onModalTap, Color? backgroundColor, Color? foregroundColor, double? gaussian, bool? ignoring, bool? absorbing, AlignmentGeometry? alignment, FlAnimationStyle? animationStyle, Duration? animationDuration, double? elevation, Color? shadowColor, ShapeBorder? shape, bool? borderOnForeground, BorderRadiusGeometry? borderRadius, bool? safeLTRB, bool? resizeToAvoidBottomInset, Duration? insetAnimationDuration, Curve? insetAnimationCurve})
→ ToastOptions
-
-
merge([ToastOptions? options])
→ ToastOptions
-
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
toString()
→ String
-
A string representation of this object.
inherited