跳到主要内容

Select Button List

Select Button List

API

属性

属性名类型默认说明
dataList < String >数据列表
fontSizedouble14字体大小
sizedouble60高度
minWidthdouble50最小宽度
colorColorColors.white字体颜色
selectColorColorColors.white选中的颜色
bgColorColorColors.blue背景色
selectBgColorColorColors.green选中的背景色
boxColorColorColors.transparent盒子颜色
defaultSelectint0默认选中
topRightWidget右上角组件
hasTopRightList < int >有右上角组件的元素项
paddingEdgeInsetsGeometryv:0, h: 16内间隙
marginEdgeInsetsGeometry8外间隙

方法

属性名类型默认说明
onChangeFunctionNAN改变事件