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

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

Changelog #

2.0.0 #

  • package no longer holds the source code for it, but exports/exposes the s_packages package instead, which will hold this package's latest source code.
  • The only future changes to this package will be made via s_packages package dependency upgrades, in order to bring the new fixes or changes to this package
  • dependent on s_packages: ^1.1.2

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.
0
likes
160
points
96
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

flutter, s_packages

More

Packages that depend on s_standby