ldy_radio_group 0.0.2

Flutter Android iOS web

Radio Button Group.

radio_group #

A new Flutter package project.

Radio按钮组 #

使用方法 #

RadioGroup(
    data: data,
    onChange: handleSelectingData,
    value: value,
    title: '测试RadioGroup',
)
// title: 组件的标题,类型:String
// data: 备选项数据, 类型:List<Map<String, dynamic>>
  data = [{
    'value': 0,
    'name': '全部'
}];
// value: 当前选中的值,类型:num
  value = 0
// onChange: 回调函数
  onChange(item) {
    // item: 选中的数据项,类型<Map<String, dynamic>>
  }
0
likes
70
pub points
13%
popularity

Radio Button Group.

Homepage

Documentation

API reference

Uploader

ldy.185@gmail.com

License

unknown (LICENSE)

Dependencies

flutter

More

Packages that depend on ldy_radio_group