of static method

Returns the active-cell notifier for the nearest TTableCellScope.

Throws an assertion error if no TTableCellScope is found.

Implementation

static ValueNotifier<String?> of(BuildContext context) {
  final notifier = maybeOf(context);
  assert(notifier != null, 'TTableCellScope not found in context');
  return notifier!;
}