ToastMessage<T> class

Constructors

ToastMessage({required Widget child, Duration duration = const Duration(seconds: 3), Color? backgroundColor, double? elevation, Color? shadowColor, Color? surfaceTintColor, ShapeBorder? shape, Clip clipBehavior = Clip.none, AlignmentGeometry? alignment, EdgeInsets? margin, EdgeInsets? padding, Color? iconColor, TextStyle? textStyle})

Properties

alignment AlignmentGeometry?
final
backgroundColor Color?
final
child Widget
final
clipBehavior Clip
final
duration Duration
final
elevation double?
final
hashCode int
The hash code for this object.
no setterinherited
iconColor Color?
final
margin EdgeInsets?
final
padding EdgeInsets?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
shadowColor Color?
final
shape ShapeBorder?
final
surfaceTintColor Color?
final
textStyle TextStyle?
final

Methods

complete(Future<T?> toast) → void
completer() Completer<T?>
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