progress<T> static method
A 0..1 ratio shown as a labelled progress bar.
Implementation
static ReadableColumn<T> progress<T>(
String label, {
required double Function(T v) value,
double? width = 150,
bool sortable = true,
}) =>
ReadableColumn<T>(
label,
type: ReadableColumnType.progress,
width: width,
sortable: sortable,
sortKey: (v) => value(v),
cell: (ctx, v) => ReadableCells.progress(value(v)),
);