tile method

RadioListTile tile(
  1. ReasonType reasonType
)

Implementation

RadioListTile tile(ReasonType reasonType) {
  return RadioListTile(
    title: Column(
      crossAxisAlignment: CrossAxisAlignment.start,
      children: [
        Text(tr("report.account.${reasonType.name}")),
        Text(
          tr("report.account.${reasonType.name}.description"),
          style: const TextStyle(color: Colors.grey, fontSize: 14),
        )
      ],
    ),
    value: reasonType,
    groupValue: selected,
    onChanged: (value) => _onSelected(value),
  );
}