TTableHeader<T, K> constructor
const
TTableHeader<T, K> (
- String text, {
- Object? map(
- T
- Widget builder(
- BuildContext,
- TListItem<
T, K> , - int
- int? flex,
- double? minWidth,
- double? maxWidth,
- Alignment? alignment,
- String? key,
- TFilterType? filterType,
- bool filterable = true,
- List<
TFilterOperator> ? filterOperators, - List? filterItems,
- TFilterDef<
T> ? filterDef, - double widthEstimator(
- T data
- List<
TKeyValue> keyValuesBuilder(- T data
- bool flattenOnMobile = false,
- String mobileKeyPrefixBuilder()?,
Creates a standard table header.
Implementation
const TTableHeader(
this.text, {
this.map,
this.builder,
this.flex,
this.minWidth,
this.maxWidth,
this.alignment,
this.key,
this.filterType,
this.filterable = true,
this.filterOperators,
this.filterItems,
this.filterDef,
this.widthEstimator,
this.keyValuesBuilder,
this.flattenOnMobile = false,
this.mobileKeyPrefixBuilder,
});