s_standby 2.0.0
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_packagespackage instead, which will hold this package's latest source code. - The only future changes to this package will be made via
s_packagespackage 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
onCancelcallback 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
onDismissedsignature to include contextual result data:wasSuccessful(true,false, ornullwhen dismissed before completion)errorandstackTracewhen 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
timeoutand optionaltimeoutBuilder. - Added success auto-dismiss via
successAutoDismissAfter(when usingsuccessBuilder). - Added basic accessibility support (
semanticsLabel*,announceTransitions). - Tests Added widget tests covering success/error/cancel/timeout.