of static method

bool? of(
  1. BuildContext context
)

Implementation

static bool? of(BuildContext context) {
  return context.dependOnInheritedWidgetOfExactType<_InheritedCEnable>()?.value;
}