DefaultConfig class abstract
Required properties for rtoast and rsnackbar
- Implementers
Constructors
- DefaultConfig({required Curve curve, required Duration duration, required Duration animationDuration, required Color backgroundColor, required TextStyle textStyle, required BorderRadius borderRadius, required Alignment alignment, required DismissDirection dismissDirection, required double farFromEdge, required EdgeInsets padding, required VoidCallback onDismissed})
-
const
Properties
- alignment → Alignment
-
final
- animationDuration → Duration
-
final
- backgroundColor → Color
-
final
- borderRadius → BorderRadius
-
final
- curve → Curve
-
final
- dismissDirection → DismissDirection
-
final
- duration → Duration
-
final
- farFromEdge → double
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- onDismissed → VoidCallback
-
final
- padding → EdgeInsets
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- textStyle → TextStyle
-
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