VCell constructor

const VCell({
  1. Key? key,
  2. String title = '',
  3. String value = '',
  4. String? hintText,
  5. String? labelText,
  6. Widget? leftWidget,
  7. Widget? rightWidget,
  8. bool showRedStar = false,
  9. bool hiddenArrow = false,
  10. VoidCallback? clickCallBack,
  11. double space = 150,
  12. bool hiddenLine = false,
  13. bool topAlign = false,
  14. String? bgColor,
  15. double cellHeight = 50,
  16. TextAlign textAlign = TextAlign.left,
  17. TextStyle? titleStyle,
  18. TextStyle? textStyle,
  19. bool isTransparentBg = false,
  20. bool disable = false,
  21. bool disableHiddenArrow = true,
  22. double radius = 0,
  23. bool customNeedExpand = false,
})

Implementation

const VCell({Key? key,
  this.title = '',
  this.value = '',
  this.hintText,
  this.labelText,
  // this.errorText,
  this.leftWidget,
  this.rightWidget,
  this.showRedStar = false,
  this.hiddenArrow = false,
  // this.border = InputBorder.none, // 去掉下划线
  this.clickCallBack,
  this.space = 150,
  this.hiddenLine = false,
  this.topAlign = false,
  this.bgColor,
  // this.lineColor = "#dcdcdc",
  this.cellHeight = 50,
  this.textAlign = TextAlign.left,
  this.titleStyle,
  this.textStyle,
  // this.hintTextStyle,
  // this.labelTextStyle,
  this.isTransparentBg = false,
  this.disable = false,
  this.disableHiddenArrow = true,
  this.radius = 0,
  this.customNeedExpand = false})
    : super(key: key);