FlexSortHeaderCellBuilder constructor
const
FlexSortHeaderCellBuilder({
- Alignment alignment = Alignment.centerLeft,
- Icon ascendingIcon = const Icon(Icons.arrow_downward, color: Colors.black, size: 16.0),
- Color? color,
- required FlexSortController controller,
- Icon descendingIcon = const Icon(Icons.arrow_upward, color: Colors.black, size: 16.0),
- int maxLines = 1,
- EdgeInsetsGeometry padding = const EdgeInsets.symmetric(horizontal: 8.0),
Constructs the builder with the ascendingIcon to use when sorting
ascending and the descendingIcon to use when sorting descending.
This also requires the controller to use to trigger sort events.
Implementation
const FlexSortHeaderCellBuilder({
super.alignment,
this.ascendingIcon = const Icon(
Icons.arrow_downward,
color: Colors.black,
size: 16.0,
),
super.color,
required this.controller,
this.descendingIcon = const Icon(
Icons.arrow_upward,
color: Colors.black,
size: 16.0,
),
super.maxLines,
super.padding,
});