s_standby 1.0.1 copy "s_standby: ^1.0.1" to clipboard
s_standby: ^1.0.1 copied to clipboard

A lightweight Flutter utility to show a progress overlay while a `Future` runs, with optional error/success builders.

Changelog #

1.0.1 #

  • Fixed cancellation reporting when reusing the same overlay id.
  • Fixed cleanup dismissal guard so user-initiated dismissals are recorded reliably.
  • Added optional onCancel callback to let callers stop their own work on dismissal.
  • Docs Clarified border inset behavior and ensured examples remain up to date.

1.0.0 #

  • Changed onDismissed signature to include contextual result data:
    • wasSuccessful (true, false, or null when dismissed before completion)
    • error and stackTrace when the Future fails
  • Docs Added README usage and callback semantics.
  • Added SStandby.dismiss(id) for programmatic dismissal (cancels in-flight work).
  • Added timeout support via timeout and optional timeoutBuilder.
  • Added success auto-dismiss via successAutoDismissAfter (when using successBuilder).
  • Added basic accessibility support (semanticsLabel*, announceTransitions).
  • Tests Added widget tests covering success/error/cancel/timeout.
1
likes
140
points
331
downloads

Publisher

unverified uploader

Weekly Downloads

A lightweight Flutter utility to show a progress overlay while a `Future` runs, with optional error/success builders.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

async, flutter, pop_overlay, ticker_free_circular_progress_indicator

More

Packages that depend on s_standby