Toast class

Toast.

Constructors

Toast()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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

Static Properties

defaultStyle ToastStyle
no getter

Static Methods

toast(dynamic message, {ToastStyle? style, int duration = Toast.SHORT, Gravity gravity = Gravity.bottom}) → void
Toast a message to screen.

Constants

LONG → const int
Toast a long time.
SHORT → const int
Toast a short time.