EmergentRadio<T> constructor

const EmergentRadio<T>({
  1. Key? key,
  2. Widget? child,
  3. EmergentRadioStyle style = const EmergentRadioStyle(),
  4. T? value,
  5. Curve curve = Emergent.defaultCurve,
  6. Duration duration = Emergent.defaultDuration,
  7. EdgeInsets padding = EdgeInsets.zero,
  8. T? groupValue,
  9. EmergentRadioListener<T?>? onChanged,
  10. bool isEnabled = true,
})

Implementation

const EmergentRadio({
  super.key,
  this.child,
  this.style = const EmergentRadioStyle(),
  this.value,
  this.curve = Emergent.defaultCurve,
  this.duration = Emergent.defaultDuration,
  this.padding = EdgeInsets.zero,
  this.groupValue,
  this.onChanged,
  this.isEnabled = true,
});