of static method
Implementation
static PurpiConfig of(BuildContext context) {
final scope = context.dependOnInheritedWidgetOfExactType<PurpiScope>();
return scope?.config ?? const PurpiConfig();
}
static PurpiConfig of(BuildContext context) {
final scope = context.dependOnInheritedWidgetOfExactType<PurpiScope>();
return scope?.config ?? const PurpiConfig();
}