autoDisposefamily_createcreatenotifier$createElement_notifierNotifier_removeListenerupdateShouldNotify runOnDisposevisitListenablesStateNotifierProvider_StateNotifierProviderElementStateNotifierProviderFamily8 StateNotifierProviderFutureProviderpublicInLegacy$FunctionalProviderLegacyProviderMixinname dependencies isAutoDisposeretry$allTransitiveDependencies computeAllTransitiveDependenciesfromargumentinternal'AutoDisposeStateNotifierProviderBuilder"StateNotifierProviderFamilyBuilderRefoverride RefreshableProviderElementProxyelement_notifierNotifier$ProviderPointer_$FunctionalProviderElementSyncProviderElementpointer $Observablevoid WhenCompleteresult$ResultguardprovidercreatevalueOrRawException addListenersetValue AsyncDatanewStatefireImmediatelyboolvalueOrProviderExceptionupdateShouldNotify runOnDisposecallvalue container runGuardeddisposevisitListenablesFamilyFunctionalFamily _createFnproviderFactory$FunctionalProviderLegacyProviderMixin$FunctionalProviderElementSyncProviderElementFunctionalFamily°�©¿:Nì-�:_øPæpackage:meta/meta.dart#../../internals.dart�¸™e€ð!"ABs€°€´€ü��U�¦�Ü�à‚(‚A‚‚ƒ‚�‚Ë‚í‚ñƒ ƒ/ƒ7ƒ;ƒ^ƒpƒ”ƒ½ƒÈƒÐƒÔƒ÷„ „-„{„†„Ž„”„œ„ „â„æ„ò…X…`…d…ž…¢…®…憆P†T†k††£†Á†ç‡/‡†‡´‡Ã‡Î‡×‡Ý‡å‡øˆˆ+ˆ0ˆ[ˆdˆiˆuˆ’ˆŸˆ±ˆÃˆ×ˆá‰‰8‰Q‰e‰u‰�‰®‰¿‰ÍŠŠ-Š9ŠNŠgŠqŠrŠ�ŠªŠ¶ŠØŠì‹‹&‹U‹n‹‹‹­‹Ç‹Í‹Î‹òŒ:Œ;ŒZŒ˜Œ™ŒÆŒÒŒÿ��S�k�q�Ã�É�×�åŽ0Ž8ŽBŽHŽ˜Ž§Žõ��1�q�¾�Þ�è�é�ö���O�’�°�¶�ë�ï�ñ�ò‘‘C‘n‘w‘y‘»‘â’’’K’L’p’q’}’ž’Ý’ÿ“““G“z“—“ž“Ÿ“°“´“µ“Á“û”9”h”‘”•”–”¢”º”Ô”Õ”ò•••E•a•�•••º•¾•¿•Ë––J–t–x–z–{–¨–¸–á— ————+—E—W—i—y—Ž—Á—Í—ü˜ ˜˜4˜K˜[˜s˜”˜¥˜³˜í™4™M™Y™c™e"‰:‰O‰U‰U ‰Z‰i‰i ‰o‰y‰y‰‰‘‰‘‰—‰²‰² ‰¸‰§‰Æ‰ËŠn‰Ö‰ð‰òŠŠ6ŠŠBŠFŠHŠWŠ_Ša‰ ‰ �f-/// {@macro riverpod.state_notifier_provider}ЏŠÍŠÖŠÜŠÜ ŠáŠðŠðŠÿ‹ ‹ ‹‹*‹*)‹9‹Y‹Y‹h‹r‹r‹�‹�‹�‹ž‹±‹±‹ÀЬЭŠtŠt�XŠÎ3/// An implementation detail of Riverpod /// @nodocˆ2ˆ2'ˆ2ˆ]ˆ]ˆ]ŒŒ6Œ7Œ‹ÐhŒ!/// {@macro riverpod.autoDispose}ŒrŒ”Œ•ŒiŒ=YŒi/// {@macro riverpod.family}Œ½Œ›)Œ½��‚å�%�é/// Obtains the [StateNotifier] associated with this provider, without listening /// to state changes. /// /// This is typically used to invoke methods on a [StateNotifier]. For example: /// /// ```dart /// Button( /// onTap: () => ref.read(stateNotifierProvider.notifier).increment(), /// ) /// ``` /// /// This listenable will notify its notifiers if the [StateNotifier] instance /// changes. /// This may happen if the provider is refreshed or one of its dependencies /// has changes.ŒåŒåŒéŒÈŒÉŒÈŒÈ6ŒÞ�–�–�§�ø�ù���ë�ë��‚ /// @nodoc‡ø‡ùBB�®ˆ‡µ/// {@template riverpod.state_notifier_provider} /// Creates a [StateNotifier] and exposes its current state. /// /// This provider is used in combination with `package:state_notifier`. /// /// Combined with [StateNotifier], [StateNotifierProvider] can be used to manipulate /// advanced states, that would otherwise be difficult to represent with simpler /// providers such as [Provider] or [FutureProvider]. /// /// For example, you may have a todo-list, where you can add and remove /// and complete a todo. /// Using [StateNotifier], you could represent such state as: /// /// ```dart /// class TodosNotifier extends StateNotifier> { /// TodosNotifier(): super([]); /// /// void add(Todo todo) { /// state = [...state, todo]; /// } /// /// void remove(String todoId) { /// state = [ /// for (final todo in state) /// if (todo.id != todoId) todo, /// ]; /// } /// /// void toggle(String todoId) { /// state = [ /// for (final todo in state) /// if (todo.id == todoId) todo.copyWith(completed: !todo.completed), /// ]; /// } /// } /// ``` /// /// Which you can then pass to a [StateNotifierProvider] like so: /// /// ```dart /// final todosProvider = StateNotifierProvider>((ref) => TodosNotifier()); /// ``` /// /// And finally, you can interact with it inside your UI: /// /// ```dart /// Widget build(BuildContext context, WidgetRef ref) { /// // rebuild the widget when the todo list changes /// List todos = ref.watch(todosProvider); /// /// return ListView( /// children: [ /// for (final todo in todos) /// CheckboxListTile( /// value: todo.completed, /// // When tapping on the todo, change its completed status /// onChanged: (value) => ref.read(todosProvider.notifier).toggle(todo.id), /// title: Text(todo.description), /// ), /// ], /// ); /// } /// ``` /// {@endtemplate}‘ä’’’’ ’ ‘ä‘ä/’‘E‘E'‘E‘p‘p‘p’1’<’F’=’G’H’’2’’_’N ’_’“’“’—’s’t’s’s�@’Œ“Û“Û“â“ì“ì “ó“·“¸“·“·€Ý“È”˜”™”˜”˜�%”©•ã•ã4–•Á••Á•Á€¶•Ò�ò�ò…‡‘$+/// The element of [StateNotifierProvider].˜˜2˜8˜8˜>˜O˜O ˜U˜_˜_˜e˜w˜w˜}˜˜˜˜ ˜ž˜ ˜ ˜�˜¬˜±™`˜¼˜Ë˜Í˜â˜ã˜ö™™™2™V™?—Ï—Ï�“7/// The [Family] of [StateNotifierProvider]. /// @nodoc–ã–ã'–ã——————–¨–©–{–{‚é–Ä,/// The [Family] of [StateNotifierProvider].€ð!"ABs€°€´€ü��U�¦�Ü�à‚(‚A‚‚ƒ‚�‚Ë‚í‚ñƒ ƒ/ƒ7ƒ;ƒ^ƒpƒ”ƒ½ƒÈƒÐƒÔƒ÷„ „-„{„†„Ž„”„œ„ „â„æ„ò…X…`…d…ž…¢…®…憆P†T†k††£†Á†ç‡/‡†‡´‡Ã‡Î‡×‡Ý‡å‡øˆˆ+ˆ0ˆ[ˆdˆiˆuˆ’ˆŸˆ±ˆÃˆ×ˆá‰‰8‰Q‰e‰u‰�‰®‰¿‰ÍŠŠ-Š9ŠNŠgŠqŠrŠ�ŠªŠ¶ŠØŠì‹‹&‹U‹n‹‹‹­‹Ç‹Í‹Î‹òŒ:Œ;ŒZŒ˜Œ™ŒÆŒÒŒÿ��S�k�q�Ã�É�×�åŽ0Ž8ŽBŽHŽ˜Ž§Žõ��1�q�¾�Þ�è�é�ö���O�’�°�¶�ë�ï�ñ�ò‘‘C‘n‘w‘y‘»‘â’’’K’L’p’q’}’ž’Ý’ÿ“““G“z“—“ž“Ÿ“°“´“µ“Á“û”9”h”‘”•”–”¢”º”Ô”Õ”ò•••E•a•�•••º•¾•¿•Ë––J–t–x–z–{–¨–¸–á— ————+—E—W—i—y—Ž—Á—Í—ü˜ ˜˜4˜K˜[˜s˜”˜¥˜³˜í™4™M™Y™c™eStateNotifierProvider_StateNotifierProviderElementStateNotifierProviderFamily riverpod.state_notifier_provider†…Creates a [StateNotifier] and exposes its current state. This provider is used in combination with `package:state_notifier`. Combined with [StateNotifier], [StateNotifierProvider] can be used to manipulate advanced states, that would otherwise be difficult to represent with simpler providers such as [Provider] or [FutureProvider]. For example, you may have a todo-list, where you can add and remove and complete a todo. Using [StateNotifier], you could represent such state as: ```dart class TodosNotifier extends StateNotifier> { TodosNotifier(): super([]); void add(Todo todo) { state = [...state, todo]; } void remove(String todoId) { state = [ for (final todo in state) if (todo.id != todoId) todo, ]; } void toggle(String todoId) { state = [ for (final todo in state) if (todo.id == todoId) todo.copyWith(completed: !todo.completed), ]; } } ``` Which you can then pass to a [StateNotifierProvider] like so: ```dart final todosProvider = StateNotifierProvider>((ref) => TodosNotifier()); ``` And finally, you can interact with it inside your UI: ```dart Widget build(BuildContext context, WidgetRef ref) { // rebuild the widget when the todo list changes List todos = ref.watch(todosProvider); return ListView( children: [ for (final todo in todos) CheckboxListTile( value: todo.completed, // When tapping on the todo, change its completed status onChanged: (value) => ref.read(todosProvider.notifier).toggle(todo.id), title: Text(todo.description), ), ], ); } ```*†