maybeOf<T extends DataGridRow> static method
Returns the nearest CellScope ancestor, or null if none exists.
Implementation
static CellScope<T>? maybeOf<T extends DataGridRow>(BuildContext context) {
return context.dependOnInheritedWidgetOfExactType<CellScope<T>>();
}