ToastStyle class
Toast style.
Constructors
- ToastStyle({Color color = Colors.black54, double radius = 10.0, Border? border, EdgeInsets padding = const EdgeInsets.only(top: 2.0, bottom: 2.0, left: 5.0, right: 5.0), TextStyle style = const TextStyle(fontSize: 15.0, color: Colors.white, decoration: TextDecoration.none)})
-
const
Properties
- border → Border?
-
Toast background border.
final
- color → Color
-
Toast background color.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- padding → EdgeInsets
-
Toast background padding.
final
- radius → double
-
Toast background corner radius.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- style → TextStyle
-
Toast text style.
final
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