PackageTrack
Sign in Get early access

app_snackbar

Beautiful, customizable Flutter SnackBar with 4 types, animations, queue, timer bar, action buttons, loading states, and Material 3 support.

1.0.4 54 downloads/mo #3923 most downloaded on pub.dev spatelpatidar/app_snackbar

What this package is like to depend on

Last release 5 months ago

11 Mar 2026

Too new to tell

only 1 release windows

Nearly every release is documented

notes for 5 of 5 stable releases

Nothing withdrawn

no release was ever pulled

5 months old

5 releases · first in 2026

5 releases in the last 12 months

see the full history below

Release timeline

5 releases · Mar 2026 to Mar 2026
Release Pre-release

Releases

latest 5
  1. 1.0.4 11 Mar 2026
    Release notes

    ✨ New Features

    Per-call Icon Override

    • icon param added to show(), success(), error(), warning(), info(), showWithAction(), showLoading()
    • Priority chain: per-call iconAppSnackBarTheme icon → built-in default
    • Example: AppSnackBar.success(context, 'Done!', icon: Icons.cloud_done_rounded)

    Action Icon in showWithAction()

    • actionIcon — optional icon shown left of the action button label
    • If null, only the label text is shown (no breaking change)
    • Example: AppSnackBar.showWithAction(context, 'Deleted', actionLabel: 'UNDO', actionIcon: Icons.undo_rounded, onAction: restore)

    Custom Progress Indicator in showLoading()

    • progressIndicator — pass any widget (CircularProgressIndicator, LinearProgressIndicator, Lottie, etc.)
    • Falls back to default white CircularProgressIndicator if not provided
    • Example: AppSnackBar.showLoading(context, 'Uploading...', progressIndicator: LinearProgressIndicator())

    Per-call Queue Override

    • useQueue param added to all public methods
    • Priority chain: per-call useQueueAppSnackBar.useQueue (global)
    • Example: AppSnackBar.error(context, 'Critical!', useQueue: false)

    Top Position Fix

    • SnackBarPosition.top now correctly renders at the top on all devices
    • Root cause: ScaffoldMessenger always renders at bottom regardless of margin
    • Fix: top position now always forces overlay mode, bypassing ScaffoldMessenger entirely

    Open source →
  2. 1.0.3 08 Mar 2026
    Release notes

    ✨ Documentation Fix

    • Fixed: screenshots not showing on pub.dev — replaced HTML <img> tags with GitHub raw URLs

    Open source →
  3. 1.0.2 08 Mar 2026
    Release notes

    ✨ New Features

    Timer Bar

    • showTimer — shows a countdown progress bar at the bottom of the snackbar
    • timerColor — customize the timer bar color per-call
    • AppSnackBarTheme.showTimer — enable timer globally for all snackbars
    • AppSnackBarTheme.timerColor — set default timer bar color in theme

    Duration Control

    • AppSnackBarTheme.defaultDuration — set a global default duration once in theme
    • Per-call duration always takes priority over theme default
    • Fallback chain: per-call → theme default → built-in default (3s)

    Open source →
  4. 1.0.1 06 Mar 2026
    Release notes

    🐛 Bug Fix

    • Fixed: showing a new snackbar while one was already visible caused the old one to be abruptly removed at the same time, resulting in both dismissing together — now the old snackbar cleanly finishes before the new one appears

    Open source →
  5. 1.0.0 06 Mar 2026
    Release notes

    ✨ Initial stable release

    Types

    • 4 snackbar types: success, error, warning, info
    • Shortcut methods: AppSnackBar.success(), .error(), .warning(), .info()

    Actions & Loading

    • AppSnackBar.showWithAction() — inline action chip (Undo, Retry, etc.)
    • AppSnackBar.showLoading() — circular spinner for async operations

    Animation

    • SnackBarAnimation.slide — slides in from bottom/top (default)
    • SnackBarAnimation.fade — smooth fade in/out
    • SnackBarAnimation.none — instant appear/disappear
    • Configurable animationDuration via theme

    Queue

    • AppSnackBar.useQueue = true — show snackbars one after another
    • AppSnackBar.clearQueue() — cancel all pending snackbars
    • AppSnackBar.queueLength — check pending count

    Positioning

    • SnackBarPosition.bottom (default)
    • SnackBarPosition.top — shows above bottom sheets

    rootScaffoldMessengerKey support

    • AppSnackBar.messengerKey = myKey — always visible above bottom sheets
    • Pass null as context to use key automatically

    Customization (per-call overrides)

    • backgroundColor — custom color for one snackbar
    • textStyle — full text style override
    • fontSize — quick font size override
    • borderRadius — shape override
    • elevation — shadow depth override
    • margin — spacing override
    • leading — custom icon/avatar widget
    • trailing — custom close/action widget
    • showClose — toggle close button

    Global Theme

    • AppSnackBarTheme — set once, applies everywhere
    • Per-type color, icon, textStyle, borderRadius, elevation, animation

    Platform

    • Flutter 3.16+ / Material 3
    • Dart 3.2+
    Open source →

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive