SummerDataColumn constructor
const
SummerDataColumn({
- required Widget label,
- String? key,
- double? width,
- int flex = 1,
- double minWidth = 40.0,
- double maxWidth = double.infinity,
- bool sortable = false,
- List<
bool> sortDirections = const [true, false], - bool resizable = false,
- bool ellipsis = false,
- AlignmentGeometry alignment = Alignment.centerLeft,
- EdgeInsetsGeometry padding = const EdgeInsets.symmetric(horizontal: 12.0, vertical: 8.0),
- SummerColumnPin pin = SummerColumnPin.none,
- String? headerTooltip,
- List<
SummerColumnFilter> ? filters, - bool filterMultiple = true,
- List<
SummerDataColumn> children = const [], - bool visible = true,
Implementation
const SummerDataColumn({
required this.label,
this.key,
this.width,
this.flex = 1,
this.minWidth = 40.0,
this.maxWidth = double.infinity,
this.sortable = false,
this.sortDirections = const [true, false],
this.resizable = false,
this.ellipsis = false,
this.alignment = Alignment.centerLeft,
this.padding = const EdgeInsets.symmetric(horizontal: 12.0, vertical: 8.0),
this.pin = SummerColumnPin.none,
this.headerTooltip,
this.filters,
this.filterMultiple = true,
this.children = const [],
this.visible = true,
});