toastification library

Classes

BuiltInContent
Creates the built-in toastification content - title, description, progress bar
BuiltInStyle
Base abstract class for built-in styles
BuiltInToastBuilder
DefaultToastificationTransition
This class is responsible for creating the default animation for the toastification
FilledStyle
FilledToastWidget
FlatColoredStyle
FlatColoredToastWidget
FlatStyle
FlatToastWidget
MinimalStyle
MinimalToastWidget
SimpleStyle
SimpleToastWidget
Toastification
This is the main class of the package. You can use this class to show and manage your notifications.
ToastificationCallbacks
A set of callbacks that you can provide to a Toastification widget. Used to listen for various events in the lifecycle of the Toastification. All of the callbacks are optional.
ToastificationConfig
you can use ToastificationConfig class to change default values of Toastification
ToastificationConfigProvider
This class is responsible for providing the ToastificationConfig to the widget tree
ToastificationItem
class to define the toastification item this class is the base model for the toastification item
ToastificationWrapper
A wrapper widget that allows the show method to work without context. You can also provides Toastification configurations to its descendants.
ToastTimerAnimationBuilder
Using this class you can create your own animation for the timer of the toastification

Enums

CloseButtonShowType
Using this enum you can define the behavior of the toast close button
ToastificationStyle
enum to define the style of the built-in toastification
ToastificationType
enum to define the type of the built-in toastification
ToastTimeStatus
enum to define the status of the timer of the toastification item init : the timer is not started yet started : the timer is started paused : the timer is paused stopped : the timer is stopped finished : the timer is finished

Constants

errorColor → const Color
default color for error toastification
highModeShadow → const List<BoxShadow>
infoColor → const Color
default style for info toastification
lowModeShadow → const List<BoxShadow>
successColor → const Color
default color for success toastification
warningColor → const Color
default color for warning toastification

Properties

toastification Toastification
This is the main singleton class instance of the package. You can use this instance to show and manage your notifications.
final

Typedefs

ToastificationAnimationBuilder = Widget Function(BuildContext context, Animation<double> animation, Alignment alignment, Widget child)
type definition for the animation builder of the custom toastification use this builder to create your own toastification animation
ToastificationBuilder = Widget Function(BuildContext context, ToastificationItem holder)
type definition for the builder of the custom toastification use this builder to create your own toastification widget