RadioTile.list constructor
RadioTile.list({
- Key? key,
- RadioStyle? radioStyle,
- ButtonStyle? buttonStyle,
- bool? overlayDisabled,
- bool? loosen = false,
- double? spacing,
- EdgeInsetsGeometry? padding,
- ControlAffinity? controlAffinity,
- ValueChanged<
bool> ? onChanged, - bool selected = false,
- bool disabled = false,
- bool autofocus = false,
- FocusNode? focusNode,
- Curve? curve,
- Duration? duration,
- String? tooltip,
- Widget? secondary,
- 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);