GFToast class

Constructors

GFToast()

Properties

backgroundColor Color?
defines the background color of the toast
getter/setter pair
border Border?
defines the border of the toast
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?
text of type String display on toast
getter/setter pair
textStyle TextStyle?
defines the test style of the toast text
getter/setter pair
toastBorderRadius double?
defines the border radius of the toast
getter/setter pair
toastDuration int?
defines the duration of time toast display over screen
getter/setter pair
toastPosition GFToastPosition?
defines the position of toast over the screen
getter/setter pair
trailing Widget
defines the trailing widget of the toast
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

Static Methods

showToast(dynamic text, BuildContext context, {dynamic toastDuration, dynamic toastPosition, dynamic backgroundColor = const Color(0xAA000000), dynamic textStyle = const TextStyle(fontSize: 15, color: Colors.white), dynamic toastBorderRadius = 20.0, dynamic border, dynamic trailing}) → dynamic