ToastificationThemeData constructor
const
ToastificationThemeData({
- BaseStandardToastStyle? toastStyle,
- required ThemeData flutterTheme,
- required TextDirection direction,
- bool showProgressBar = false,
- bool applyBlurEffect = false,
- bool showIcon = true,
Creates a new instance of ToastificationThemeData.
toastStyle defines the visual style of the toast.
flutterTheme is the base Flutter theme to be used.
direction determines the text direction for the toast content.
showProgressBar controls the visibility of the progress indicator.
applyBlurEffect determines if a blur effect should be applied to the toast.
showIcon controls the visibility of the toast icon.
Implementation
const ToastificationThemeData({
this.toastStyle,
required this.flutterTheme,
required this.direction,
this.showProgressBar = false,
this.applyBlurEffect = false,
this.showIcon = true,
});