属性名 | 参数 | 描述 |
---|---|---|
disabled | bool | button是否可用 |
raised | bool | button是否具有凸起效果 |
onPress | func | 按下触发 |
onLongPress | func | 长按触发 |
text | string | button显示文字 |
upperCase | bool | 是否转换为大写 |
icon | {name:string,type:string,size:string,color:string} | button上的icon |
accent | bool | |
primary | bool | |
iconPosition | 'left' or 'right' | |
useTextColorForRippleColor | bool |