of static method
Gets the shimmer loading state from context. Returns false if no UIProShimmerScope is found.
Implementation
static bool of(BuildContext context) {
final scope =
context.dependOnInheritedWidgetOfExactType<UIProShimmerScope>();
return scope?.isLoading ?? false;
}