showSuccessSnackbar method
void
showSuccessSnackbar({
- required String title,
- String? subtitle,
- Duration? duration,
- bool showProgressIndicator = false,
- ContentDesignStyle? designStyle,
- double? blur,
- ImageFilter? backdropFilter,
Shows a success snackbar
Example:
context.showSuccessSnackbar(
title: 'Success!',
subtitle: 'Operation completed',
);
Implementation
void showSuccessSnackbar({
required String title,
String? subtitle,
Duration? duration,
bool showProgressIndicator = false,
ContentDesignStyle? designStyle,
double? blur,
ImageFilter? backdropFilter,
}) {
SavePointsSnackbar.showSuccess(
this,
title: title,
subtitle: subtitle,
duration: duration,
showProgressIndicator: showProgressIndicator,
designStyle: designStyle,
blur: blur,
backdropFilter: backdropFilter,
);
}