Commit 301a1c1
committed
refactor(router): wrap SavedHeadlinesPage in BlocProvider for dependency injection
- Add BlocProvider<HeadlinesFeedBloc> to manage dependencies for SavedHeadlinesPage
- Inject necessary repositories and services into HeadlinesFeedBloc
- Use context.read to access required providers
- Set up initialUserContentPreferences for HeadlinesFeedBloc1 parent 9c37ae9 commit 301a1c1
1 file changed
+21
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
364 | 364 | | |
365 | 365 | | |
366 | 366 | | |
367 | | - | |
| 367 | + | |
| 368 | + | |
| 369 | + | |
| 370 | + | |
| 371 | + | |
| 372 | + | |
| 373 | + | |
| 374 | + | |
| 375 | + | |
| 376 | + | |
| 377 | + | |
| 378 | + | |
| 379 | + | |
| 380 | + | |
| 381 | + | |
| 382 | + | |
| 383 | + | |
| 384 | + | |
| 385 | + | |
| 386 | + | |
| 387 | + | |
368 | 388 | | |
369 | 389 | | |
370 | 390 | | |
| |||
0 commit comments