DigitRadioButtonList<T> constructor
const
DigitRadioButtonList<T> ({
- Key? key,
- bool? isEnabled,
- required String formControlName,
- Widget? secondaryWidget,
- required String valueMapper(
- T value
- String labelText = '',
- bool isRequired = false,
- required List<
T> options, - ValueChanged<
T> ? onValueChange, - VisualDensity? visualDensity,
- EdgeInsetsGeometry? contentPadding,
- EdgeInsetsGeometry? margin,
- EdgeInsetsGeometry? labelPadding,
- TextStyle? labelStyle,
- void onChangeOfFormControl(
- FormControl
- required String errorMessage,
Implementation
const DigitRadioButtonList({
super.key,
this.isEnabled,
required this.formControlName,
this.secondaryWidget,
required this.valueMapper,
this.labelText = '',
this.isRequired = false,
required this.options,
this.onValueChange,
this.visualDensity,
this.contentPadding,
this.margin,
this.labelPadding,
this.labelStyle,
this.onChangeOfFormControl,
required this.errorMessage,
});