SelectTextItem constructor
const
SelectTextItem({
- Key? key,
- required String title,
- Color? titleColor = text999,
- double? titleFontSize = 14.0,
- GestureTapCallback? onTap,
- String? content = '',
- String contentHint = '请选择',
- Color? contentColor = text000,
- double? contentFontSize = 15.0,
- Color? contentHintColor = textCd,
- double minHeight = 50.0,
- double hPadding = 20.0,
- double hMargin = 0.0,
- bool isShowRightArrow = true,
- Color? backgroundColor = white,
- MainAxisAlignment selectAlignment = MainAxisAlignment.end,
- ImageProvider<
Object> ? rightImage, - double? rightImageWidth = 20.0,
- double? rightImageHeight = 20.0,
- ImageProvider<
Object> ? leftImage, - double? leftImageWidth,
- 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);