rrousselGit / state_notifier

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

LocatorMixin's `update` throws error if watch ancestor `StateNotifier`'s `state` #7

Closed mono0926 closed 4 years ago

mono0926 commented 4 years ago

LocatorMixin's update throws error if watch ancestor StateNotifier's state.

Sample code(if this lines are uncommented, it throws error): https://github.com/mono0926/flutter_playground/blob/4a507c728b8077bbb933229f97ac4e33c381a600/lib/main_state_notifier2.dart#L77-L78