CJTSImageTitleTextValueCell constructor

CJTSImageTitleTextValueCell({
  1. Key? key,
  2. Color? color,
  3. double? height,
  4. BoxConstraints? constraints,
  5. double? leftRightPadding,
  6. double? leftMaxWidth,
  7. double? rightMaxWidth,
  8. double? leftRightSpacing,
  9. ImageProvider<Object>? imageProvider,
  10. double? imageWith,
  11. double? imageTitleSpace,
  12. required String title,
  13. String? titlePrompt,
  14. int? titlePromptMaxLines,
  15. double? titlePromptFontSize,
  16. String? textValue,
  17. int? textValueMaxLines,
  18. double? textValueFontSize,
  19. bool textThemeIsRed = false,
  20. bool addDotForValue = false,
  21. String? textSubValue,
  22. int? textSubValueMaxLines,
  23. String? textValuePlaceHodler,
  24. GestureTapCallback? onTap,
  25. GestureTapCallback? onDoubleTap,
  26. GestureLongPressCallback? onLongPress,
  27. CJTSTableViewCellArrowImageType? arrowImageType,
})

Implementation

CJTSImageTitleTextValueCell({
  Key? key,
  this.color,
  this.height,
  this.constraints,
  this.leftRightPadding,
  this.leftMaxWidth, // 限制左侧的最大宽度(左右两侧都未设置最大宽度时候,请自己保证两边不会重叠)
  this.rightMaxWidth, // 限制右侧的最大宽度(左右两侧都未设置最大宽度时候,请自己保证两边不会重叠)
  this.leftRightSpacing, // 左右两侧视图的间距(默认未未设置时候为0)
  this.imageProvider,
  this.imageWith,
  this.imageTitleSpace,
  required this.title,
  this.titlePrompt,
  this.titlePromptMaxLines,
  this.titlePromptFontSize,
  this.textValue,
  this.textValueMaxLines,
  this.textValueFontSize,
  this.textThemeIsRed = false,
  this.addDotForValue = false,
  this.textSubValue,
  this.textSubValueMaxLines,
  this.textValuePlaceHodler,
  this.onTap,
  this.onDoubleTap,
  this.onLongPress,
  this.arrowImageType,
}) : //assert(leftMaxWidth > 0 || rightMaxWidth > 0),
      super(key: key);