| 1 | What is dependency injection, and why is it a generally recommended practice for structuring a Flutter application's various services and repositories? Flutter › Dependency Injection in Flutter (GetIt & Service Locator) | Flutter | Dependency Injection in Flutter (GetIt & Service Locator) | Beginner |
| 2 | How do you organize dependency registration in a large Flutter app, using a dedicated setup function or dedicated modules, to keep the overall service locator configuration clean and maintainable as the app grows significantly? Flutter › Dependency Injection in Flutter (GetIt & Service Locator) | Flutter | Dependency Injection in Flutter (GetIt & Service Locator) | Intermediate |
| 3 | What are the tradeoffs of using a global service locator pattern like GetIt compared to using a more structured, compile time safe dependency injection framework such as the riverpod based provider system? Flutter › Dependency Injection in Flutter (GetIt & Service Locator) | Flutter | Dependency Injection in Flutter (GetIt & Service Locator) | Advanced |
| 4 | How does dependency injection make unit testing significantly easier by letting you substitute a real dependency, such as a live network client, with a fake or mock version during a test? Flutter › Dependency Injection in Flutter (GetIt & Service Locator) | Flutter | Dependency Injection in Flutter (GetIt & Service Locator) | Intermediate |
| 5 | How can scoped dependency injection help properly manage the specific lifecycle of dependencies that should genuinely only exist for the duration of a particular feature or a specific user session, rather than living for the entire lifetime of the whole application? Flutter › Dependency Injection in Flutter (GetIt & Service Locator) | Flutter | Dependency Injection in Flutter (GetIt & Service Locator) | Advanced |
| 6 | What is the GetIt package, and how does it function as a service locator, letting different parts of a Flutter app conveniently access shared service instances without needing them to be manually passed down through many widget constructors? Flutter › Dependency Injection in Flutter (GetIt & Service Locator) | Flutter | Dependency Injection in Flutter (GetIt & Service Locator) | Beginner |
| 7 | What is the difference between registerSingleton, registerLazySingleton, and registerFactory when registering a dependency with GetIt? Flutter › Dependency Injection in Flutter (GetIt & Service Locator) | Flutter | Dependency Injection in Flutter (GetIt & Service Locator) | Intermediate |
| 8 | What is the basic folder structure of a typical Flutter plugin project, and how does it separate the shared Dart interface from each individual platform's own specific native implementation? Flutter › Flutter Plugin & Package Development | Flutter | Flutter Plugin & Package Development | Beginner |
| 9 | How do you properly use the mockito package to create a genuine mock object specifically for testing a class that genuinely depends on an external dependency, such as a network client or a database repository? Flutter › Unit Testing in Flutter | Flutter | Unit Testing in Flutter | Intermediate |
| 10 | How do setUp and tearDown let you properly share common test setup and cleanup logic consistently across several genuinely separate related tests within the exact same group? Flutter › Unit Testing in Flutter | Flutter | Unit Testing in Flutter | Intermediate |