DatatableHeader constructor
DatatableHeader({
- required String text,
- required String value,
- TextAlign textAlign = TextAlign.center,
- bool sortable = false,
- bool show = true,
- bool editable = false,
- bool withButtonClear = false,
- int flex = 1,
- DataTableFormat format = DataTableFormat.normal,
- Widget headerBuilder(
- dynamic value
- Widget sourceBuilder()?,
- List<
String> items = const [], - List<
TextInputFormatter> ? textInputFormatter,
Implementation
DatatableHeader({
required this.text,
required this.value,
this.textAlign = TextAlign.center,
this.sortable = false,
this.show = true,
this.editable = false,
this.withButtonClear = false,
this.flex = 1,
this.format = DataTableFormat.normal,
this.headerBuilder,
this.sourceBuilder,
this.items = const [],
this.textInputFormatter,
});