Toast class

定义吐司类,方便后面扩展,带图片or自定义widget啥的

Constructors

Toast.new(String text, {AlignmentGeometry align = AlignmentDirectional.center, Widget builder(String text)?, ToastState? toastState})

Properties

align AlignmentGeometry
getter/setter pair
builder Widget Function(String text)?
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
text String
getter/setter pair
toastState ToastState?
getter/setter pair

Methods

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