of static method

Retrieves the nearest TTableDetailsScope from context (throws if not found).

Implementation

static TTableDetailsScope of(BuildContext context) {
  final scope = maybeOf(context);
  assert(scope != null, 'No TTableDetailsScope found in context');
  return scope!;
}