showSuccessSnackbar method

void showSuccessSnackbar({
  1. required String title,
  2. String? subtitle,
  3. Duration? duration,
  4. bool showProgressIndicator = false,
  5. ContentDesignStyle? designStyle,
  6. double? blur,
  7. 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,
  );
}