我有两个用于注册表单的单选按钮,我希望它们水平相邻,我已经使用Row完成了,但是随附的文本不会选择单选按钮,只会选择单选按钮本身就是这样做的……我知道RadioListTile允许单选按钮和标签,但据我所知它只能垂直定位。将Text包裹在InkWell中可能可行,但我不确定如何保存状态。Row(children:[Row(children:[Radio(value:0,groupValue:_radioGroupValue,activeColor:Colors.white,onChanged:(intvalue){changeRadioSelection(value);}),Text(
我有两个用于注册表单的单选按钮,我希望它们水平相邻,我已经使用Row完成了,但是随附的文本不会选择单选按钮,只会选择单选按钮本身就是这样做的……我知道RadioListTile允许单选按钮和标签,但据我所知它只能垂直定位。将Text包裹在InkWell中可能可行,但我不确定如何保存状态。Row(children:[Row(children:[Radio(value:0,groupValue:_radioGroupValue,activeColor:Colors.white,onChanged:(intvalue){changeRadioSelection(value);}),Text(