TTableHeader<T, K>.map constructor
const
TTableHeader<T, K>.map (
- String text,
- Object? map(
- T
- 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
- bool flattenOnMobile = false,
- String mobileKeyPrefixBuilder()?,
Creates a header using only a mapping function.
Implementation
const TTableHeader.map(
this.text,
this.map, {
this.flex,
this.minWidth,
this.maxWidth,
this.alignment,
this.key,
this.filterType,
this.filterable = true,
this.filterOperators,
this.filterItems,
this.filterDef,
this.widthEstimator,
this.flattenOnMobile = false,
this.mobileKeyPrefixBuilder,
}) : builder = null,
keyValuesBuilder = null;