NeoButton
---
**Description:** Widget will be used as button in app.
**UI States:**

**Parameters:**
| Parameter Name | Type | Is Required | Description | Default Value | Additional Info |
| -------------- | ---------------------------------------------------------------- | ----------- | ---------------------------------------------------- | ---------------------------- | ---------------------------------------- |
| transitionId | String? | No | ID of the transition to trigger | null |
|widgetEventKey | String? | No | When this value is provided, widget writes every click action to WidgetEventBus with this key and DateTime.now() value. | null|
| startWorkflow | Boolean | No | Starts a workflow using transitionId as workflowName | false | |
| labelText | String | No | Label text of button | "" | |
| iconLeftUrn | String? | No | Left icon's urn | null | |
| iconRightUrn | String? | No | Left icon's urn | null | |
| size | [NeoButtonSize](https://hackmd.io/qJuirIB9TKW6_ELIrkHVyA) | No | Left icon's urn | NeoButtonSize.medium | |
| displayMode | [NeoButtonDisplayMode](https://hackmd.io/7YNdkjjHSxilHmAAC6dENg) | No | Display mode of button | NeoButtonDisplayMode.primary | |
| enabled | bool | no | enable button | true | |
| padding | EdgeInsetsDirectional? | No | Padding of the widget | null | |
**Example Response**
```json
{
"type": "neo_button",
"args": {
"transitionId": "",
"labelText": "Giriş Yap",
"iconLeftUrn":"urn:local:icons:plusCircle",
"iconRightUrn":"urn:local:icons:plusCircle",
"size": "NeoButtonSize.small",
"displayMode": "NeoButtonDisplayMode.text",
"enabled": false,
"padding": {
"start": 50,
"top": 0,
"end": 50,
"bottom": 0
}
}
}
```