DDSRadio<T> constructor

const DDSRadio<T>({
  1. Key? key,
  2. required T value,
  3. String? title,
  4. T? groupValue,
  5. ValueChanged<T?>? onChanged,
  6. bool? showContainer,
  7. bool? disabled,
  8. Color? activeColor,
  9. Color? focusColor,
  10. Color? hoverColor,
  11. Color? backgroundColor = const Color(0xFFFFF0EB),
  12. RadioVariant? variant,
  13. String? subHeading,
  14. String? description,
  15. required RadioType type,
  16. bool? showDescription = false,
  17. ShapeValue? shape = ShapeValue.roundedRectangle,
  18. Color? overlayColor,
  19. Color? fillColor,
  20. double? splashRadius,
  21. IconData? icon,
  22. MouseCursor? mouseCursor,
  23. bool? autofocus,
  24. double? width,
  25. double? height,
  26. TextStyle? titleStyle,
  27. bool? toggleable = true,
  28. Color? cardBackgroundColor,
  29. TextStyle? subheadingStyle,
  30. 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);