NeoPopup
---
**Description:** Widget will be used to show info, warning or error messages to users.
**UI States:**

**Parameters:**
| Parameter Name | Type | Is Required | Description | Default Value |
| -------------- | ---------------- | ----------- | ----------------------------------------- | ------------------ |
| type | [NeoPopupType](https://hackmd.io/LA7kxzgDRpqoIFJIIXIASw)? | No | Type of the popup | NeoPopupType.info |
| titleText | String? | No| Text that displayed as title of the popup | null |
| bodyText | String? | No | Text that displayed as body of the popup | null |
| actions | List<[NeoPopupActionModel](https://hackmd.io/rHykb92tTu2Ipmbj1QurRA)>? | No | A list of models [NeoPopupActionModel] as actions | null |
| isLocalPopup | bool | No | Flag to set that notification is triggered in code or not | false |
| padding | [EdgeInsetsDirectional](https://hackmd.io/VbfdvqKyRUmeeeAVrModPQ)? | No | Padding of widget | null |
**Example Response**
```json
{
"type": "neo_popup",
"args": {
"type": "NeoPopupType.error",
"titleText": "Hatalı Şifre",
"bodyText": "Şifreyi 5 kere yanlış girdiğiniz için giriş yapılamıyor. Şifremi Unuttum butonuna basarak yeni şifre alabilir, ON’a giriş yapabilirsiniz.",
"actions": [
{
"transitionId": "",
"labelText": "Tamam"
},
{
"transitionId": "",
"labelText": "Şifremi Unuttum",
"displayMode": "line"
}
],
"padding": {
"start": 0
}
}
}
```