of static method
Returns the data from the closest DynamicTheme instance that encloses the given context.
Implementation
static _DynamicThemeState? of(BuildContext context) {
return context.findAncestorStateOfType<_DynamicThemeState>();
}
Returns the data from the closest DynamicTheme instance that encloses the given context.
static _DynamicThemeState? of(BuildContext context) {
return context.findAncestorStateOfType<_DynamicThemeState>();
}