FdcActionColumn constructor

const FdcActionColumn({
  1. required List<FdcRowAction> actions,
  2. String? id,
  3. String? groupId,
  4. String? label,
  5. String? hint,
  6. bool visible = true,
  7. bool enabled = true,
  8. int? focusOrder,
  9. bool tabStop = false,
  10. double? width = 40,
  11. double minWidth = 32,
  12. double maxWidth = 0,
  13. FdcGridColumnAutoSizeMode autoSizeMode = FdcGridColumnAutoSizeMode.none,
  14. FdcGridHorizontalAlignment? horizontalAlignment = FdcGridHorizontalAlignment.center,
  15. FdcGridCellStyle? cellStyle,
  16. FdcGridColumnPin pin = FdcGridColumnPin.none,
  17. FdcGridMenuBuilder? menuBuilder,
  18. double iconSize = 18,
  19. double spacing = 0,
  20. EdgeInsetsGeometry padding = EdgeInsets.zero,
})

Creates a FdcActionColumn.

Implementation

const FdcActionColumn({
  required this.actions,
  super.id,
  super.groupId,
  super.label,
  super.hint,
  super.visible = true,
  super.enabled = true,
  super.focusOrder,
  super.tabStop = false,
  super.width = 40,
  super.minWidth = 32,
  super.maxWidth = 0,
  super.autoSizeMode = FdcGridColumnAutoSizeMode.none,
  super.horizontalAlignment = FdcGridHorizontalAlignment.center,
  super.cellStyle,
  super.pin = FdcGridColumnPin.none,
  super.menuBuilder,
  this.iconSize = 18,
  this.spacing = 0,
  this.padding = EdgeInsets.zero,
}) : super(
       fieldName: id ?? '__fdc_action_column',
       exportable: false,
       readOnly: true,
       allowSort: false,
       filterConfig: const FdcColumnFilterConfig(enabled: false),
       allowResize: false,
       showIndicator: false,
       summary: const FdcColumnSummary(),
     );