of static method
Implementation
static PreviewContext? of(BuildContext context) {
final previewContext =
context.dependOnInheritedWidgetOfExactType<PreviewContext>();
return previewContext;
}
static PreviewContext? of(BuildContext context) {
final previewContext =
context.dependOnInheritedWidgetOfExactType<PreviewContext>();
return previewContext;
}