RadioTile.list constructor

RadioTile.list({
  1. Key? key,
  2. RadioStyle? radioStyle,
  3. ButtonStyle? buttonStyle,
  4. bool? overlayDisabled,
  5. bool? loosen = false,
  6. double? spacing,
  7. EdgeInsetsGeometry? padding,
  8. ControlAffinity? controlAffinity,
  9. ValueChanged<bool>? onChanged,
  10. bool selected = false,
  11. bool disabled = false,
  12. bool autofocus = false,
  13. FocusNode? focusNode,
  14. Curve? curve,
  15. Duration? duration,
  16. String? tooltip,
  17. Widget? secondary,
  18. required Widget child,
})

Create a tiled radio widget for list item

Implementation

RadioTile.list({
  Key? key,
  this.radioStyle,
  ButtonStyle? buttonStyle,
  bool? overlayDisabled,
  bool? loosen = false,
  double? spacing,
  EdgeInsetsGeometry? padding,
  this.controlAffinity,
  this.onChanged,
  this.selected = false,
  this.disabled = false,
  this.autofocus = false,
  this.focusNode,
  this.curve,
  this.duration,
  this.tooltip,
  this.secondary,
  required this.child,
})  : buttonStyle = ButtonStyle(
        width: double.infinity,
        borderRadius: BorderRadius.zero,
        foregroundExpanded: true,
        foregroundLoosen: loosen,
        foregroundSpacing: spacing,
        overlayDisabled: overlayDisabled,
        padding: padding,
      ).merge(buttonStyle),
      super(key: key);