EditableTable constructor

const EditableTable({
  1. Key? key,
  2. Map<String, dynamic>? data,
  3. TableEntity? entity,
  4. EdgeInsetsGeometry? tablePadding,
  5. Border? captionBorder,
  6. EdgeInsetsGeometry? captionPadding,
  7. TextStyle? captionTextStyle,
  8. TextStyle? captionHintTextStyle,
  9. EdgeInsetsGeometry? captionInputDecorationContentPadding,
  10. InputBorder? captionTextFieldBorder,
  11. InputBorder? captionTextFieldFocusBorder,
  12. Border? headerBorder,
  13. TextStyle? headerTextStyle,
  14. EdgeInsetsGeometry? headerContentPadding,
  15. Color? headerBackgroundColor,
  16. Border? rowBorder,
  17. EdgeInsetsGeometry? cellContentPadding,
  18. TextStyle? cellTextStyle,
  19. TextStyle? cellHintTextStyle,
  20. EdgeInsetsGeometry? cellInputDecorationContentPadding,
  21. InputBorder? cellInputDecorationBorder,
  22. InputBorder? cellInputDecorationFocusBorder,
  23. Widget? removeRowIcon,
  24. EdgeInsetsGeometry? removeRowIconPadding,
  25. Alignment? removeRowIconAlignment,
  26. Color? removeRowIconContainerBackgroundColor,
  27. bool showAddRow = true,
  28. Widget? addRowIcon,
  29. EdgeInsetsGeometry? addRowIconPadding,
  30. Alignment? addRowIconAlignment,
  31. Color? addRowIconContainerBackgroundColor,
  32. Border? footerBorder,
  33. EdgeInsetsGeometry? footerPadding,
  34. TextStyle? footerTextStyle,
  35. TextStyle? footerHintTextStyle,
  36. EdgeInsetsGeometry? footerInputDecorationContentPadding,
  37. InputBorder? footerInputDecorationBorder,
  38. InputBorder? footerInputDecorationFocusBorder,
  39. AutovalidateMode? formFieldAutoValidateMode,
  40. bool readOnly = false,
  41. ValueChanged<RowEntity>? onRowRemoved,
  42. VoidCallback? onRowAdded,
  43. TableFiledFilled? onFilling,
  44. TableFiledFilled? onSubmitted,
})

Implementation

const EditableTable({
  Key? key,
  this.data,
  this.entity,
  this.tablePadding,
  this.captionBorder,
  this.captionPadding,
  this.captionTextStyle,
  this.captionHintTextStyle,
  this.captionInputDecorationContentPadding,
  this.captionTextFieldBorder,
  this.captionTextFieldFocusBorder,
  this.headerBorder,
  this.headerTextStyle,
  this.headerContentPadding,
  this.headerBackgroundColor,
  this.rowBorder,
  this.cellContentPadding,
  this.cellTextStyle,
  this.cellHintTextStyle,
  this.cellInputDecorationContentPadding,
  this.cellInputDecorationBorder,
  this.cellInputDecorationFocusBorder,
  this.removeRowIcon,
  this.removeRowIconPadding,
  this.removeRowIconAlignment,
  this.removeRowIconContainerBackgroundColor,
  this.showAddRow = true,
  this.addRowIcon,
  this.addRowIconPadding,
  this.addRowIconAlignment,
  this.addRowIconContainerBackgroundColor,
  this.footerBorder,
  this.footerPadding,
  this.footerTextStyle,
  this.footerHintTextStyle,
  this.footerInputDecorationContentPadding,
  this.footerInputDecorationBorder,
  this.footerInputDecorationFocusBorder,
  this.formFieldAutoValidateMode,
  this.readOnly = false,
  this.onRowRemoved,
  this.onRowAdded,
  this.onFilling,
  this.onSubmitted,
})  : assert(data != null || entity != null,
          'data and entity cannot both be null'),
      super(key: key);