maybeOf static method

SkeletonizerScope? maybeOf(
  1. BuildContext context
)

Depends on the the nearest SkeletonizerScope if any

Implementation

static SkeletonizerScope? maybeOf(BuildContext context) {
  return context.dependOnInheritedWidgetOfExactType<SkeletonizerScope>();
}