File tree Expand file tree Collapse file tree 1 file changed +21
-0
lines changed Expand file tree Collapse file tree 1 file changed +21
-0
lines changed Original file line number Diff line number Diff line change 142
142
143
143
<MultiBlocProviderSnippet />
144
144
145
+ :::caution
146
+
147
+ When a ` BlocProvider ` is defined within the context of a ` MultiBlocProvider ` ,
148
+ any ` child ` will be ignored.
149
+
150
+ :::
151
+
145
152
### BlocListener
146
153
147
154
** BlocListener** is a Flutter widget which takes a ` BlocWidgetListener ` and an
183
190
184
191
<MultiBlocListenerSnippet />
185
192
193
+ :::caution
194
+
195
+ When a ` BlocListener ` is defined within the context of a ` MultiBlocListener ` ,
196
+ any ` child ` will be ignored.
197
+
198
+ :::
199
+
186
200
### BlocConsumer
187
201
188
202
** BlocConsumer** exposes a ` builder ` and ` listener ` in order to react to new
241
255
242
256
<MultiRepositoryProviderSnippet />
243
257
258
+ :::caution
259
+
260
+ When a ` RepositoryProvider ` is defined within the context of a
261
+ ` MultiRepositoryProvider ` , any ` child ` will be ignored.
262
+
263
+ :::
264
+
244
265
## BlocProvider Usage
245
266
246
267
Lets take a look at how to use ` BlocProvider ` to provide a ` CounterBloc ` to a
You can’t perform that action at this time.
0 commit comments