TCsvColumn constructor
const
TCsvColumn({
- required String key,
- required String header,
- TCsvColumnType type = TCsvColumnType.text,
- bool isRequired = false,
- dynamic defaultValue,
- List<
String> aliases = const [], - String? validator(
- dynamic value
- String format(
- dynamic value
- String? placeholder,
- String? helperText,
- double minWidth = 140,
- double? maxWidth,
- int? flex,
- Alignment alignment = Alignment.centerLeft,
Implementation
const TCsvColumn({
required this.key,
required this.header,
this.type = TCsvColumnType.text,
this.isRequired = false,
this.defaultValue,
this.aliases = const [],
this.validator,
this.format,
this.placeholder,
this.helperText,
this.minWidth = 140,
this.maxWidth,
this.flex,
this.alignment = Alignment.centerLeft,
});