EditableColumn constructor
const
EditableColumn({
- required String key,
- required String label,
- double width = 160,
- CellAlign? align,
- bool mono = false,
- bool required = false,
- EditableColumnType type = EditableColumnType.text,
- List<
String> options = const [], - bool includeInTotal = false,
- String format(
- String raw
- String? validate(
- String value
- EditableCellValidator? cellValidator,
- EditableCellBuilder? cellBuilder,
Implementation
const EditableColumn({
required this.key,
required this.label,
this.width = 160,
CellAlign? align,
this.mono = false,
this.required = false,
this.type = EditableColumnType.text,
this.options = const [],
this.includeInTotal = false,
this.format,
this.validate,
this.cellValidator,
this.cellBuilder,
}) : align = align ?? (type == EditableColumnType.number ? CellAlign.end : CellAlign.start);