Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add ChangeNotifier to ManUpService #37

Merged
merged 2 commits into from
Sep 20, 2024
Merged

Conversation

zbarbuto
Copy link
Member

  • ManUpService now implements ChangeNotifier and the most recent status can be retrieved from the status getter
  • onComplete, onError and shouldShowAlert on ManUpWidget are now optional (shouldShowAlert defaults to () => true)
  • ManUpWidget now exposes an optional onStatusChanged
  • "Kill switch" (disabled) and required update alert dialogs are no longer barrier dismissable.
  • Changes to status will now show updated dialogs
  • Update examples
  • Increase test coverage

- `ManUpService` now implements `ChangeNotifier` and the most recent status can be retrieved from the `status` getter
- `onComplete`, `onError` and `shouldShowAlert` on `ManUpWidget` are now optional (`shouldShowAlert` defaults to `() => true`)
- `ManUpWidget` now exposes an optional `onStatusChanged`
- "Kill switch" (`disabled`) and required update alert dialogs are no longer barrier dismissable.
- Changes to status will now show updated dialogs
- Update examples
Prevents ManUp from accidentally popping an actual page route
@zbarbuto zbarbuto merged commit 191cf2b into master Sep 20, 2024
1 check passed
@zbarbuto zbarbuto deleted the feature/change-notifier branch September 20, 2024 02:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants