SelectTextItem constructor

const SelectTextItem({
  1. Key? key,
  2. required String title,
  3. Color? titleColor = text999,
  4. double? titleFontSize = 14.0,
  5. GestureTapCallback? onTap,
  6. String? content = '',
  7. String contentHint = '请选择',
  8. Color? contentColor = text000,
  9. double? contentFontSize = 15.0,
  10. Color? contentHintColor = textCd,
  11. double minHeight = 50.0,
  12. double hPadding = 20.0,
  13. double hMargin = 0.0,
  14. bool isShowRightArrow = true,
  15. Color? backgroundColor = white,
  16. MainAxisAlignment selectAlignment = MainAxisAlignment.end,
  17. ImageProvider<Object>? rightImage,
  18. double? rightImageWidth = 20.0,
  19. double? rightImageHeight = 20.0,
  20. ImageProvider<Object>? leftImage,
  21. double? leftImageWidth,
  22. double? leftImageHeight,
})

Implementation

const SelectTextItem({
  Key? key,
  required this.title,
  this.titleColor = text999,
  this.titleFontSize = 14.0,
  this.onTap,
  this.content = '',
  this.contentHint = '请选择',
  this.contentColor = text000,
  this.contentFontSize = 15.0,
  this.contentHintColor = textCd,
  this.minHeight = 50.0,
  this.hPadding = 20.0,
  this.hMargin = 0.0,
  this.isShowRightArrow = true,
  this.backgroundColor = white,
  this.selectAlignment = MainAxisAlignment.end,
  this.rightImage,
  this.rightImageWidth = 20.0,
  this.rightImageHeight = 20.0,
  this.leftImage,
  this.leftImageWidth,
  this.leftImageHeight,
}) : super(key: key);