Custom Code Toastification

This notification widget provides a flexible, visually appealing way to display alerts in your app. It supports customizable positioning, allowing notifications to be placed at the top, center, or bottom of the screen, with alignment options for left, center, or right.

Additional customization options include background blur effects, icons, progress bars, and smooth animations. This makes the widget ideal for delivering real-time feedback in a modern, engaging

NOTE: add this dependencies -> toastification: ^2.3.0

Parameters:

toastTitle (String?): Title of the notification. Default is "Notification" if not provided.

toastDescription (String): Description message for the notification.

toastType (String): Type of notification, which determines its color and icon. Options are:

  • info

  • warning

  • error

  • success

toastStyle (String): Style of the notification’s appearance. Options include:

  • fillColored

  • flat

  • minimal

  • flatColored

toastPosition (String): Location on the screen for the notification. Possible values are:

  • Top: topLeft, topCenter, topRight

  • Center: centerLeft, center, centerRight

  • Bottom: bottomLeft, bottomCenter, bottomRight

applyBlurEffect (bool): Enables a background blur effect behind the notification.

Customization Options:

Icon and Progress Bar: The notification includes an icon and progress bar by default.

Animation: The notification animates with a smooth scale transition.

https://marketplace.flutterflow.io/item/4s0dputmEWpwFETuyJeT

If you liked it, leave your comment and like. 😃

14
1 reply