Implementing darkTheme Configuration in Custom Flutter App Structure
I’m working on a Flutter project with a custom app structure that does not use MaterialApp
directly for initializing the app. Instead, app configurations are managed through a custom AppConfig
class. I’m trying to integrate a darkTheme
configuration similar to how it’s traditionally implemented within MaterialApp
.