of static method
Access to the closest ThemeModeHandler instance to the given context.
Implementation
static _ThemeModeHandlerState? of(BuildContext context) {
return context.findAncestorStateOfType<_ThemeModeHandlerState>();
}
Access to the closest ThemeModeHandler instance to the given context.
static _ThemeModeHandlerState? of(BuildContext context) {
return context.findAncestorStateOfType<_ThemeModeHandlerState>();
}