getHighlight method
Get highlight metadata for a specific cell Returns null if no highlight exists for this cell @param rowId - The row identifier (from _id or row_id field) @param columnId - The column field name
Implementation
Map<String, dynamic>? getHighlight(String rowId, String columnId) {
final key = '${rowId}_$columnId';
final result = _highlightMetadata[key];
// DEBUG: Log when looking up highlights (only for temp_row_id to reduce noise)
if (rowId.startsWith('temp_')) {
print('[TableController] 🔍 getHighlight("$rowId", "$columnId")');
print('[TableController] - Looking for key: "$key"');
print('[TableController] - Found: ${result != null}');
if (result == null && _highlightMetadata.isNotEmpty) {
print('[TableController] - Available keys: ${_highlightMetadata.keys.toList()}');
}
}
return result;
}