DigitRadioButtonList<T> constructor

const DigitRadioButtonList<T>({
  1. Key? key,
  2. bool? isEnabled,
  3. required String formControlName,
  4. Widget? secondaryWidget,
  5. required String valueMapper(
    1. T value
    ),
  6. String labelText = '',
  7. bool isRequired = false,
  8. required List<T> options,
  9. ValueChanged<T>? onValueChange,
  10. VisualDensity? visualDensity,
  11. EdgeInsetsGeometry? contentPadding,
  12. EdgeInsetsGeometry? margin,
  13. EdgeInsetsGeometry? labelPadding,
  14. TextStyle? labelStyle,
  15. void onChangeOfFormControl(
    1. FormControl
    )?,
  16. 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,
});