NotificationX extension

Quick-show extension for BuildContext.

on

Properties

notifications → NotificationCenterState

Available on BuildContext, provided by the NotificationX extension

Show a notification via the nearest NotificationCenter.
no setter

Methods

showError(String title, {String? body}) → void

Available on BuildContext, provided by the NotificationX extension

Quick error notification.
showInfo(String title, {String? body}) → void

Available on BuildContext, provided by the NotificationX extension

Quick info notification.
showSuccess(String title, {String? body}) → void

Available on BuildContext, provided by the NotificationX extension

Quick success notification.
showWarning(String title, {String? body}) → void

Available on BuildContext, provided by the NotificationX extension

Quick warning notification.