maybeOf static method

ValueNotifier<String?>? maybeOf(
  1. BuildContext context
)

Returns the active-cell notifier for the nearest TTableCellScope, or null if no editable table is in scope.

Implementation

static ValueNotifier<String?>? maybeOf(BuildContext context) {
  return context.dependOnInheritedWidgetOfExactType<TTableCellScope>()?.notifier;
}