of static method
Get instance of style provider, can be null if you're not providing one.
Implementation
static StyleProvider? of(BuildContext context) {
return context.dependOnInheritedWidgetOfExactType<StyleProvider>();
}
Get instance of style provider, can be null if you're not providing one.
static StyleProvider? of(BuildContext context) {
return context.dependOnInheritedWidgetOfExactType<StyleProvider>();
}