Skip to content
pubscout

flutter_icon_snackbar

2.0.0, released 2 months ago by tyrannoapartment.com

Animated snack bar with icon, color, text, and programmatic dismissal

WASM-ready
$ flutter pub add flutter_icon_snackbar
Source repository

What it does

Shows a status message as a snack bar with an icon and optional animation. It supports custom colors, text styles, and dismissal control via a controller.

AI-written summary of version 2.0.0, based on the package's README and metadata. Report an inaccuracy

Use it when

  • Displaying success, failure, or alert messages in a Flutter app
  • Need a snack bar with icon and color that follows the theme
  • Want programmatic dismissal or awaiting completion

Skip it when

  • Replacing complex custom UI components that require full screen overlays
  • Using it for non-snackbar notifications like dialogs or persistent banners

Strengths

  • Customizable icon, color, and text
  • Built-in animation and lifecycle management
  • RTL and reduced motion support
  • No pending timers, clean dismissal

Weaknesses

  • Only works as a snack bar, not a full-screen dialog
  • Requires Flutter 3.32+ and Dart 3.8+
  • Limited to Flutter, no native platform integration

Setup

Kind
Flutter widgets
Effort
Low
Code generation
No
Direct dependencies
1
import 'package:flutter_icon_snackbar/flutter_icon_snackbar.dart';

final controller = showIconSnackBar(
  context,
  type: SnackBarType.success,
  label: 'Changes saved',
);

Alternatives

Packages that do the same job and could replace flutter_icon_snackbar.

  • menu_bar

    A customizable application menu bar widget with submenus for Flutter desktop apps.

  • app_badge_plus

    Flutter plugin to set numeric badges on app icons for iOS, Android, and macOS

  • re_editor

    A lightweight text and code editor widget for Flutter with syntax highlighting and folding.

  • circle_progress_bar

    An animated circular progress bar widget with customizable style and text inside.

Works with

Packages commonly used together with flutter_icon_snackbar: ones it builds on, ones built on it, and its own family.