TTableHeader<T>.image constructor
TTableHeader<T>.image (})
Implementation
TTableHeader.image(
this.text,
String? Function(T) map, {
this.flex,
this.alignment,
double width = 50,
}) : value = null,
map = null,
minWidth = width + 12,
maxWidth = width + 12,
builder = ((_, item) => map(item) != null ? TImage(url: map(item)!, size: width) : const SizedBox.shrink());