JToastConfig class
- Implemented types
Constructors
- JToastConfig({VoidCallback? onDismissed, BorderRadius? borderRadius, TextStyle? textStyle, EdgeInsets padding = const EdgeInsets.fromLTRB(16, 8, 16, 8), Color backgroundColor = Colors.black, Curve curve = Curves.decelerate, double farFromEdge = kToolbarHeight, Duration duration = const Duration(seconds: 2), Alignment alignment = Alignment.bottomCenter, DismissDirection dismissDirection = DismissDirection.none, Duration animationDuration = const Duration(milliseconds: 250)})
Properties
- alignment ↔ Alignment
-
getter/setter pairoverride
- animationDuration ↔ Duration
-
getter/setter pairoverride
- backgroundColor ↔ Color
-
getter/setter pairoverride
- borderRadius ↔ BorderRadius
-
getter/setter pairoverride
- curve ↔ Curve
-
getter/setter pairoverride
- dismissDirection ↔ DismissDirection
-
getter/setter pairoverride
- duration ↔ Duration
-
getter/setter pairoverride
- farFromEdge ↔ double
-
getter/setter pairoverride
- hashCode → int
-
The hash code for this object.
no setterinherited
- onDismissed ↔ VoidCallback
-
getter/setter pairoverride
- padding ↔ EdgeInsets
-
getter/setter pairoverride
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- textStyle ↔ TextStyle
-
getter/setter pairoverride
Methods
-
copyWith(
{Curve? curve, Duration? duration, Duration? animationDuration, Color? backgroundColor, TextStyle? textStyle, double? farFromEdge, BorderRadius? borderRadius, Alignment? alignment, DismissDirection? dismissDirection, VoidCallback? onDismissed, EdgeInsets? padding}) → JToastConfig -
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