icon_text_button

A button Widget that contain Icon and Text together.

Install

To Read The Official Page

Examples

To Read This Official Page

Apis

nametyperequiredintromark
iconIconrequiredThe main icon
labelTextrequiredThe word under icon
onPressVoidCallbackrequiredThe event when you click
btnTypeBtnType(enum)The button style that you will useThe value is in [raise, outline, flat, icon]
colorColorThe color of icon & text
sizeDoubleThe size of whole button
paddingEdgeInsetsGeometryThe Padding around icon & text
bgColorColorThe color of Background
borderColorColorThe color of border with outlineButtonONLY FOR OutlineButton

Libraries

i18n
icon_text_button