cellErrorOf static method

String? cellErrorOf(
  1. BuildContext context,
  2. dynamic data,
  3. String column, [
  4. String? cellKey,
])

Static helper to resolve an error for a cell from the nearest TTableCellScope.

Implementation

static String? cellErrorOf(BuildContext context, dynamic data, String column, [String? cellKey]) {
  final scope = maybeScopeOf(context);
  return scope?.getError(data, column, cellKey);
}