success static method
void
success(
- BuildContext context,
- String message, {
- Key? key,
- FastNotificationCenterOptions options = _kDefaultSuccessOptions,
Displays an success notification.
Implementation
static void success(
BuildContext context,
String message, {
Key? key,
FastNotificationCenterOptions options = _kDefaultSuccessOptions,
}) {
final palette = ThemeHelper.getPaletteColors(context);
_buildNotification(
context,
message,
options: _mergeIconColors(options, palette.green.mid),
);
}