titleSpan property
Customize the column with TextSpan or WidgetSpan instead of the column's title string.
titleSpan: const TextSpan(
children: [
WidgetSpan(
child: Text(
'* ',
style: TextStyle(color: Colors.red),
),
),
TextSpan(text: 'column title'),
],
),
Implementation
final InlineSpan? titleSpan;