of static method
Implementation
static ComConfig of(BuildContext context) {
return context
.dependOnInheritedWidgetOfExactType<ComConfiguration>()
?.config ??
ComConfig.defaults();
}
static ComConfig of(BuildContext context) {
return context
.dependOnInheritedWidgetOfExactType<ComConfiguration>()
?.config ??
ComConfig.defaults();
}