CJTSImageTitleTextValueCell constructor
CJTSImageTitleTextValueCell({
- Key? key,
- Color? color,
- double? height,
- BoxConstraints? constraints,
- double? leftRightPadding,
- double? leftMaxWidth,
- double? rightMaxWidth,
- double? leftRightSpacing,
- ImageProvider<
Object> ? imageProvider, - double? imageWith,
- double? imageTitleSpace,
- required String title,
- String? titlePrompt,
- int? titlePromptMaxLines,
- double? titlePromptFontSize,
- String? textValue,
- int? textValueMaxLines,
- double? textValueFontSize,
- bool textThemeIsRed = false,
- bool addDotForValue = false,
- String? textSubValue,
- int? textSubValueMaxLines,
- String? textValuePlaceHodler,
- GestureTapCallback? onTap,
- GestureTapCallback? onDoubleTap,
- GestureLongPressCallback? onLongPress,
- 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);