TxVerticalCell constructor

const TxVerticalCell({
  1. Key? key,
  2. Widget? label,
  3. String? labelText,
  4. TextStyle? labelTextStyle,
  5. Widget? leading,
  6. TextStyle? leadingTextStyle,
  7. Color? iconColor,
  8. Widget? content,
  9. String? contentText,
  10. TextStyle? contentTextStyle,
  11. EdgeInsetsGeometry? padding,
  12. double? minLeadingWidth,
  13. bool? dense,
  14. VisualDensity? visualDensity,
  15. Color? contentTextColor,
  16. double? verticalGap,
  17. double? minVerticalPadding,
})

创建一个TxCell组件

Implementation

const TxVerticalCell({
  super.key,
  this.label,
  this.labelText,
  this.labelTextStyle,
  this.leading,
  this.leadingTextStyle,
  this.iconColor,
  this.content,
  this.contentText,
  this.contentTextStyle,
  this.padding,
  this.minLeadingWidth,
  this.dense,
  this.visualDensity,
  this.contentTextColor,
  this.verticalGap,
  this.minVerticalPadding,
}) : assert(label != null || labelText != null);