s_standby 1.0.1
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
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.