ToastThemeData class

Constructors

ToastThemeData({EdgeInsets? padding, AlignmentGeometry? alignment, VoidCallback? onDismiss, ToastAnimationBuilder? animationBuilder, Duration? duration})
const

Properties

alignment AlignmentGeometry?
Alignment of animation, like size, rotate animation.
final
animationBuilder ToastAnimationBuilder?
The default toast animation builder
final
duration Duration?
The duration the toast will be on the screen.
final
hashCode int
The hash code for this object.
no setterinherited
onDismiss VoidCallback?
Callback when toast is dismissed
final
padding EdgeInsets?
Padding for the text and the container edges
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

copyWith({Alignment? alignment, VoidCallback? onDismiss, EdgeInsets? padding, ToastAnimationBuilder? animationBuilder, Duration? duration}) ToastThemeData
Copy this with more data
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited