---
# System prepended metadata

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

---

NeoHypertext
---
**Description:** Widget will be used to display texts which can have hyperlinks inside it.

**UI Example:**
![Screen Shot 2023-12-08 at 15.33.30](https://hackmd.io/_uploads/HJfH6YgIT.png)


**Parameters:**

| Parameter Name | Type | Is Required | Description | Default Value | 
| - | - | -| - | - |
|text        | String  | Yes    | Full text with parameteric parts |  | 
|highlightedItems | List<[NeoHypertextHighlightedItem](https://hackmd.io/Sm0_R7AsRuu6ivTcoQFHpw)>| Yes | Item list for highlighted parts | [] | |
| padding   | EdgeInsetsDirectional?  | No | Padding of the widget | null |
| textAlign   | TextAlign?  | No | TextAlign of the widget | TextAlign.Center |


**Example Json Model**
```json
{
    "type": "neo_hypertext",
    "args": {
        "text": "Seçtiğiniz güvenlik resmi bu değilse lütfen {callCenter} arayın.",
        "highlightedItems": [
            {
                "itemKey": "callCenter",
                "text": "iletişim merkezini",
                "actionType": "callNumber",
                "data": "02122222222"
            }
        ]
    }
}
```