alerts/ny_alerts library
Classes
- ToastMeta
- Toast Meta makes it easy to use pre-defined styles in the toast alert.
- ToastNotificationStyleMetaHelper
- ToastNotificationStyleMetaHelper is used to return the correct value for the ToastNotificationStyleType toast style.
Enums
- ToastNotificationStyleType
- Enum values for the Toast style types.
Functions
-
showToastNotification(
BuildContext context, {ToastNotificationStyleType? style, String? title, IconData? icon, String? description, Duration? duration}) → dynamic -
Display a new Toast notification to the user.
Provide a valid ToastNotificationStyleType
i.e.
ToastNotificationStyleType.SUCCESS
Set a title, description to personalise the message.