v1.0.2cupertino_radio_choice
Cupertino 按钮,用作单选按钮以选择一个值。
19喜欢 68近 30 天下载150Pub 分数
AndroidiOSWebmacOSWindowsLinux
用于选择一个值的 Cupertino 按钮,用作单选按钮
{"sdk":"flutter"}{"sdk":"flutter"}以下为英文项目原文快照,最新内容请访问 GitHub。
Cupertino buttons which are used as radio buttons in order to select one value.
A complete tutorial how to use CupertinoRadioChoice can be found here: Tutorial
Just fill the required parameters of CupertinoRadioChoice and you're ready to go, e.g.:
CupertinoRadioChoice(
choices: {'male' : 'Male', 'female' : 'Female', 'other': 'Other'},
onChange: (selectedGender) {},
initialKeyValue: 'male')
Please refer to the example for usage: Quick-Link
If you encounter any problems feel free to open an issue. If you feel the library is missing a feature, please raise a ticket on Github and I'll look into it. Pull Request are also welcome.