rrousselGit / state_notifier

ValueNotifier, but outside Flutter and with some extra perks
MIT License
311 stars 28 forks source link

expose state_notifier #72

Closed uny closed 1 year ago

uny commented 1 year ago

It would be better that exposing state_notifier in flutter_state_notifier like Riverpod does.

codecov[bot] commented 1 year ago

Codecov Report

Merging #72 (c17ae71) into master (b80dcd8) will increase coverage by 14.59%. The diff coverage is n/a.

:exclamation: Current head c17ae71 differs from pull request most recent head 254cf9d. Consider uploading reports for the commit 254cf9d to get more accurate results

Additional details and impacted files [![Impacted file tree graph](https://codecov.io/gh/rrousselGit/state_notifier/pull/72/graphs/tree.svg?width=650&height=150&src=pr&token=mmKICnJITW&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Remi+Rousselet)](https://codecov.io/gh/rrousselGit/state_notifier/pull/72?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Remi+Rousselet) ```diff @@ Coverage Diff @@ ## master #72 +/- ## ============================================ + Coverage 85.40% 100.00% +14.59% ============================================ Files 3 1 -2 Lines 137 96 -41 ============================================ - Hits 117 96 -21 + Misses 20 0 -20 ``` | [Impacted Files](https://codecov.io/gh/rrousselGit/state_notifier/pull/72?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Remi+Rousselet) | Coverage Δ | | |---|---|---| | [...ter\_state\_notifier/lib/flutter\_state\_notifier.dart](https://codecov.io/gh/rrousselGit/state_notifier/pull/72?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Remi+Rousselet#diff-cGFja2FnZXMvZmx1dHRlcl9zdGF0ZV9ub3RpZmllci9saWIvZmx1dHRlcl9zdGF0ZV9ub3RpZmllci5kYXJ0) | `100.00% <ø> (ø)` | | | [example/lib/my\_state\_notifier.dart](https://codecov.io/gh/rrousselGit/state_notifier/pull/72?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Remi+Rousselet#diff-ZXhhbXBsZS9saWIvbXlfc3RhdGVfbm90aWZpZXIuZGFydA==) | | | | [example/lib/main.dart](https://codecov.io/gh/rrousselGit/state_notifier/pull/72?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Remi+Rousselet#diff-ZXhhbXBsZS9saWIvbWFpbi5kYXJ0) | | |