FlutstrapRadio<T> constructor
const
FlutstrapRadio<T> ({
- Key? key,
- required T value,
- required T? groupValue,
- ValueChanged<
T?> ? onChanged, - FSRadioVariant variant = FSRadioVariant.primary,
- FSRadioSize size = FSRadioSize.md,
- String? label,
- Widget? customLabel,
- bool disabled = false,
- bool inline = false,
- String? semanticLabel,
- bool showValidation = false,
- bool isValid = true,
- String? validationMessage,
- Color? activeColor,
- Color? dotColor,
- VisualDensity? visualDensity,
- EdgeInsetsGeometry? padding,
Implementation
const FlutstrapRadio({
super.key,
required this.value,
required this.groupValue,
this.onChanged,
this.variant = FSRadioVariant.primary,
this.size = FSRadioSize.md,
this.label,
this.customLabel,
this.disabled = false,
this.inline = false,
this.semanticLabel,
this.showValidation = false,
this.isValid = true,
this.validationMessage,
this.activeColor,
this.dotColor,
this.visualDensity,
this.padding,
});