TodayTableCell constructor

const TodayTableCell({
  1. Key? key,
  2. TodayTableCellType type = TodayTableCellType.text,
  3. Widget? icon,
  4. Widget? rightIcon,
  5. TodaySpacing iconSpacing = TodaySpacing.tdsSpace3,
  6. String? textContent,
  7. String? textDescription,
  8. bool shimmerDescription = false,
  9. Widget? customWidget,
  10. TodayLink? link,
  11. TodayInput? input,
  12. TodayDropdown? select,
  13. TodayCheckbox? checkbox,
  14. List<TodayTag>? tags,
  15. List<TodayBadge>? badges,
  16. TodayColor textColor = TodayColor.labelPrimary,
  17. bool toLeft = false,
  18. bool emphasized = false,
  19. bool isChild = false,
  20. bool isLastChild = false,
  21. TextAlign align = TextAlign.left,
  22. List<TodayDropdownItem>? dropdownItems,
  23. Alignment? cellAlignment,
  24. double? maxWidth,
  25. EdgeInsets padding = EdgeInsets.zero,
  26. bool shimmerTags = false,
})

Implementation

const TodayTableCell({
  super.key,
  this.type = TodayTableCellType.text,
  this.icon,
  this.rightIcon,
  this.iconSpacing = TodaySpacing.tdsSpace3,
  this.textContent,
  this.textDescription,
  this.shimmerDescription = false,
  this.customWidget,
  this.link,
  this.input,
  this.select,
  this.checkbox,
  this.tags,
  this.badges,
  this.textColor = TodayColor.labelPrimary,
  this.toLeft = false,
  this.emphasized = false,
  this.isChild = false,
  this.isLastChild = false,
  this.align = TextAlign.left,
  this.dropdownItems,
  this.cellAlignment,
  this.maxWidth,
  this.padding = EdgeInsets.zero,
  this.shimmerTags = false,
});