DDSRadio<T> constructor
const
DDSRadio<T> ({
- Key? key,
- required T value,
- String? title,
- T? groupValue,
- ValueChanged<
T?> ? onChanged, - bool? showContainer,
- bool? disabled,
- Color? activeColor,
- Color? focusColor,
- Color? hoverColor,
- Color? backgroundColor = const Color(0xFFFFF0EB),
- RadioVariant? variant,
- String? subHeading,
- String? description,
- required RadioType type,
- bool? showDescription = false,
- ShapeValue? shape = ShapeValue.roundedRectangle,
- Color? overlayColor,
- Color? fillColor,
- double? splashRadius,
- IconData? icon,
- MouseCursor? mouseCursor,
- bool? autofocus,
- double? width,
- double? height,
- TextStyle? titleStyle,
- bool? toggleable = true,
- Color? cardBackgroundColor,
- TextStyle? subheadingStyle,
- TextStyle? descriptionStyle,
Implementation
const DDSRadio(
{Key? key,
required this.value,
this.title,
this.groupValue,
this.onChanged,
this.showContainer,
this.disabled,
this.activeColor,
this.focusColor,
this.hoverColor,
this.backgroundColor = const Color(0xFFFFF0EB),
this.variant,
this.subHeading,
this.description,
required this.type,
this.showDescription = false,
this.shape = ShapeValue.roundedRectangle,
this.overlayColor,
this.fillColor,
this.splashRadius,
this.icon,
this.mouseCursor,
this.autofocus,
this.width,
this.height,
this.titleStyle,
this.toggleable = true,
this.cardBackgroundColor,
this.subheadingStyle,
this.descriptionStyle})
: super(key: key);