isEnabledOf static method

bool isEnabledOf(
  1. BuildContext context
)

Implementation

static bool isEnabledOf(BuildContext context) =>
    context.dependOnInheritedWidgetOfExactType<_RemoteScope>()?.enabled ??
    false;