ToastData class
Constructors
-
ToastData.new({String title = '', Widget? customTitle, TextStyle titleStyle = const TextStyle(), Color backgroundColor = Colors.white, Color borderColor = Colors.transparent, Widget? iconWidget, List<
BoxShadow> ? boxShadow, TextAlign textAlign = TextAlign.left, ToastPosition position = ToastPosition.bottom, double positionValue = 0})
Properties
- backgroundColor ↔ Color
-
getter/setter pair
- borderColor ↔ Color
-
getter/setter pair
-
boxShadow
↔ List<
BoxShadow> ? -
getter/setter pair
- customTitle ↔ Widget?
-
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- iconWidget ↔ Widget?
-
getter/setter pair
- position ↔ ToastPosition
-
getter/setter pair
- positionValue → double
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- textAlign ↔ TextAlign
-
getter/setter pair
- title ↔ String
-
getter/setter pair
- titleStyle ↔ TextStyle
-
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