icon_text_button 0.1.3 icon_text_button: ^0.1.3 copied to clipboard
A button Widget with Icon and Text together.Write with pure Dart, so you can use it cross Android and iOS.
icon_text_button #
A button Widget that contain Icon and Text together.
Install #
Examples #
Apis #
name | type | required | intro | mark |
---|---|---|---|---|
icon | Icon | required | The main icon | |
label | Text | required | The word under icon | |
onPress | Funciton | required | The event when you click | |
btnType | BtnType(enum) | The button style that you will use | The value is in [raise, outline, flat, icon] | |
color | Color | The color of icon & text | ||
size | Double | The size of whole button | ||
bgColor | Color | The color of Background |