Toast class

Constructors

Toast.error({String title = 'Error', required String text, int width = 600, int padding = 12, int iconSize = 24, Duration? duration})
factory
Toast.info({String title = 'Information', required String text, int width = 600, int padding = 12, int iconSize = 24, Duration? duration})
factory
Toast.success({String title = 'Success', required String text, int width = 600, int padding = 12, int iconSize = 24, Duration? duration})
factory
Toast.warning({String title = 'Warning', required String text, int width = 600, int padding = 12, int iconSize = 24, Duration? duration})
factory

Properties

alertLevel → AlertLevel
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
timer Timer?
getter/setter pair
toastCount int
no setter

Methods

close() → void
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