CupertinoRadioListTile<T> constructor

const CupertinoRadioListTile<T>(
  1. {Key? key,
  2. required T value,
  3. required T? groupValue,
  4. required void onChanged(
    1. T? value
    )?,
  5. Widget? title,
  6. Widget? subtitle,
  7. EdgeInsetsGeometry? contentPadding,
  8. Color? activeColor,
  9. bool toggable = false}
)

Creates a new radio list tile with the given value, groupValue and onChanged callback.

This control is deemed selected when the value is the same as the group value. When you set toggable to true the value of a selected element can be reset to null.

Implementation

const CupertinoRadioListTile({
  Key? key,
  required this.value,
  required this.groupValue,
  required this.onChanged,
  this.title,
  this.subtitle,
  this.contentPadding,
  this.activeColor,
  this.toggable = false,
}) : super(key: key);