third_party/toastification/toastification library

Classes

BaseStandardToastStyle
Base abstract class for built-in styles
BuiltInToastBuilder
ColorUtils
Utility class for color manipulation and conversion operations.
DefaultStandardToastWidget
DefaultStyleValues
DefaultToastificationTransition
This class is responsible for creating the default animation for the toastification
FilledStandardToastStyle
FlatStandardColoredToastStyle
FlatStandardToastStyle
MinimalStandardToastStyle
MinimalStandardToastWidget
SimpleStandardToastStyle
SimpleStandardToastWidget
StandardStyleValues
StandardToastStyleFactory
StandardToastWidget
StandardToastWidgetFactory
ToastCloseButton
Configuration class for toast close button customization.
ToastContent
Creates the toastification content - title, description, progress bar
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
ToastificationTheme
An inherited widget that defines the configuration for toastification themes in this widget's subtree.
ToastificationThemeData
A class that defines the theming data for Toastification widgets.
ToastificationType
Defines the visual and behavioral characteristics of built-in toast notifications. This class is used by the BuiltInBuilder to style and render different types of notifications with consistent appearance.
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
Defines the visibility behavior of the toast close button.
StandardStyle
enum to define the style of the built-in toastification
ToastificationStyle
Defines the visual style of built-in toast notifications.
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

Extensions

IntColorComponents on Color
Extension on Color to provide integer-based color component access.
ToastStyleExtension on ToastificationStyle

Constants

defaultAlignment → const AlignmentDirectional
defaultClipBehavior → const Clip
defaultItemAnimationDuration → const Duration
defaultWidth → const double
errorColor → const Color
default color for error toastification
highModeShadow → const List<BoxShadow>
infoColor → const Color
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

Functions

defaultAnimationBuilderConfig(BuildContext context, Animation<double> animation, Alignment alignment, Widget child) Widget
Default animation builder for Toastification
defaultMarginBuilder(BuildContext context, AlignmentGeometry alignment) EdgeInsetsGeometry
Default margin builder for Toastification

Typedefs

CloseButtonBuilder = Widget Function(BuildContext context, VoidCallback onClose)
Signature for a function that builds a custom close button widget.
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
ToastificationMarginBuilder = EdgeInsetsGeometry Function(BuildContext context, AlignmentGeometry alignment)