ToastlyConfigInterface class abstract
The interface that defines the configurable properties of a toast in Toastly.
- Implementers
Constructors
Properties
- alignment → Alignment
-
The alignment of the toast on the screen.
no setter
- animationType → ToastAnimationType
-
The animation style used when showing and hiding the toast.
no setter
- autoDismiss → bool
-
Whether the toast should automatically dismiss after a duration.
no setter
- backgroundColor → Color?
-
The background color of the toast container.
no setter
- borderRadius → BorderRadius?
-
The border radius of the toast container.
no setter
- closeItem → Widget?
-
A widget displayed for manually dismissing the toast.
no setter
- dismissInSeconds → int?
-
The number of seconds to wait before dismissing the toast.
no setter
- elevation → double?
-
Elevation (shadow) of the toast container.
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- icon → Widget?
-
An optional widget displayed before the message, typically an icon.
no setter
- message → Widget
-
The main widget displayed in the toast.
no setter
- padding → EdgeInsetsGeometry?
-
Padding around the toast container.
no setter
- progressBarAlignment → Alignment?
-
Alignment of the progress bar inside the toast container.
no setter
- progressBarColor → Color?
-
Color of the progress bar.
no setter
- progressBarHeight → double?
-
Height of the progress bar.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- shouldShowProgressBar → bool
-
Whether to show a progress bar indicating time until dismissal.
no setter
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