showErrorSnackbar method
void
showErrorSnackbar({
- required String title,
- String? subtitle,
- Duration? duration,
- bool showProgressIndicator = false,
- ContentDesignStyle? designStyle,
- double? blur,
- ImageFilter? backdropFilter,
Shows an error snackbar
Example:
context.showErrorSnackbar(
title: 'Error',
subtitle: 'Something went wrong',
);
Implementation
void showErrorSnackbar({
required String title,
String? subtitle,
Duration? duration,
bool showProgressIndicator = false,
ContentDesignStyle? designStyle,
double? blur,
ImageFilter? backdropFilter,
}) {
SavePointsSnackbar.showError(
this,
title: title,
subtitle: subtitle,
duration: duration,
showProgressIndicator: showProgressIndicator,
designStyle: designStyle,
blur: blur,
backdropFilter: backdropFilter,
);
}