TDRadio constructor
const
TDRadio({
- String? id,
- Key? key,
- String? title,
- String? subTitle,
- bool enable = true,
- int subTitleMaxLine = 1,
- int titleMaxLine = 1,
- Color? checkedColor,
- ContentBuilder? customContentBuilder,
- double? spacing,
- bool? cardMode,
- bool? showDivider,
- TDCheckBoxSize size = TDCheckBoxSize.small,
- TDRadioStyle radioStyle = TDRadioStyle.circle,
- TDContentDirection contentDirection = TDContentDirection.right,
- IconBuilder? customIconBuilder,
Implementation
const TDRadio({
String? id,
Key? key,
String? title,
String? subTitle,
bool enable = true,
int subTitleMaxLine = 1,
int titleMaxLine = 1,
Color? checkedColor,
ContentBuilder? customContentBuilder,
double? spacing,
bool? cardMode,
bool? showDivider,
TDCheckBoxSize size = TDCheckBoxSize.small,
this.radioStyle = TDRadioStyle.circle,
TDContentDirection contentDirection = TDContentDirection.right,
IconBuilder? customIconBuilder,
}) : super(
id: id,
key: key,
title: title,
subTitle: subTitle,
subTitleMaxLine: subTitleMaxLine,
enable: enable,
size: size,
cardMode: cardMode ?? false,
showDivider: showDivider ?? true,
titleMaxLine: titleMaxLine,
customContentBuilder: customContentBuilder,
contentDirection: contentDirection,
spacing: spacing,
customIconBuilder: customIconBuilder,
);