of static method
Implementation
static PrintScope of(BuildContext context) {
final scope = context.dependOnInheritedWidgetOfExactType<PrintScope>();
assert(scope != null, 'No PrintScope above this print widget');
return scope!;
}
static PrintScope of(BuildContext context) {
final scope = context.dependOnInheritedWidgetOfExactType<PrintScope>();
assert(scope != null, 'No PrintScope above this print widget');
return scope!;
}