dialog_controller 1.0.0
dialog_controller: ^1.0.0 copied to clipboard
A Flutter package for managing complex Dialog user flows
1.0.0 #
- Reject foreign controller handles during dismissal even when their entry tokens match, without changing the queue or resolving outcomes.
- Breaking: Require unique queued dialog IDs. All enqueue methods reject duplicates with
ArgumentError. IDs may be reused after removal. - Breaking: Remove
replaceAll()in favor ofreplace(handle, request)for updating one queued entry while preserving its handle, pending outcome, and tie order. ID collisions leave the queue unchanged. - Breaking: Remove
orderingData,DialogOrderStrategy,defaultDialogOrderStrategy, and the controller'sorderStrategyparameter. Dialogs now use descending numeric priority only, with insertion order for ties. - Bind dialog dismissal callbacks and transition keys to queued-entry handles so stale UI events cannot dismiss a different dialog, including when a removed ID is reused.
- Add
DialogController.currentHandle()to identify the active queued entry.
0.1.1 #
- Remove Broken API Documentation Links
0.1.0 #
- Initial public release of
dialog_controller. - Added
DialogControllerfor dialog queueing, ordering, dismissal, and typed outcomes. - Added
DialogHostandDialogScopefor app-wide and scoped dialog rendering. - Added custom dialog widget support through
DialogRequest.widgetBuilder. - Added
DialogOutcome<T>for confirmed, cancelled, and dismissed dialog results. - Added
orderingDataand pluggableDialogOrderStrategysupport for domain-specific ordering. - Added example integrations for Riverpod and Flutter BLoC.
- Added unit and widget test coverage for controller, scope, host, and example behavior.
- Added a table of contents to the README for faster navigation of package documentation.
- Added automated Dart API documentation publishing to GitHub Pages.
- Updated package metadata and README to point to hosted API docs.