SummerDataColumn constructor

const SummerDataColumn({
  1. required Widget label,
  2. String? key,
  3. double? width,
  4. int flex = 1,
  5. double minWidth = 40.0,
  6. double maxWidth = double.infinity,
  7. bool sortable = false,
  8. List<bool> sortDirections = const [true, false],
  9. bool resizable = false,
  10. bool ellipsis = false,
  11. AlignmentGeometry alignment = Alignment.centerLeft,
  12. EdgeInsetsGeometry padding = const EdgeInsets.symmetric(horizontal: 12.0, vertical: 8.0),
  13. SummerColumnPin pin = SummerColumnPin.none,
  14. String? headerTooltip,
  15. List<SummerColumnFilter>? filters,
  16. bool filterMultiple = true,
  17. List<SummerDataColumn> children = const [],
  18. 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,
});