---
# System prepended metadata

title: Widget - NeoSwipeButton
tags: [Flutter-Widget]

---

NeoSwipeButton
---
**Description:** Widget will be used as button which has a swipe action that trigger transition.

**UI States:**
![Screen Shot 2023-11-21 at 15.53.38](https://hackmd.io/_uploads/r1LP_75ET.png)


**Parameters:**

| Parameter Name | Type | Is Required | Description | Default Value | Additional Info |
| - | - | - | - | - | - |
|transitionId     | String | Yes | ID of the transition to trigger | null |
|labelText        | String? | No | Label text of button | null |  |
|loadingLabelText | String? | No | Label text in loading state | $labelText |
|padding          | [EdgeInsetsDirectional](https://hackmd.io/VbfdvqKyRUmeeeAVrModPQ)?| No | Padding of the widget    | null |

**Example Response**
```json
{
    "type": "neo_swipe_button",
    "args": {
        "transitionId": "",
        "labelText": "Giriş Yap",
        "loadinglabelText": "Giriş Yapılıyor",
        "padding": 50
    }
}
```