BetterCell constructor

const BetterCell({
  1. Key? key,
  2. double? height,
  3. BorderRadiusGeometry? borderRadius,
  4. Color? backgroundColor,
  5. EdgeInsetsGeometry? padding,
  6. String? titleText,
  7. String? valueText,
  8. TextStyle? titleTextStyle,
  9. TextStyle? valueTextStyle,
  10. BoxBorder? border,
  11. bool? isShowBorder = false,
  12. bool? isShowArrowRight = false,
  13. double? arrowRightMarginLeft,
  14. double? arrowRightSize,
  15. Color? arrowRightColor,
  16. Widget? titleWidget,
  17. Widget? valueWidget,
  18. VoidCallback? onClick,
  19. bool? disabled = false,
  20. bool? disableSplash = false,
  21. Color? overlayColor,
})

创建一个 BetterCell

Implementation

const BetterCell({
  super.key,
  this.height,
  this.borderRadius,
  this.backgroundColor,
  this.padding,
  this.titleText,
  this.valueText,
  this.titleTextStyle,
  this.valueTextStyle,
  this.border,
  this.isShowBorder = false,
  this.isShowArrowRight = false,
  this.arrowRightMarginLeft,
  this.arrowRightSize,
  this.arrowRightColor,
  this.titleWidget,
  this.valueWidget,
  this.onClick,
  this.disabled = false,
  this.disableSplash = false,
  this.overlayColor,
});