NeoSegmentedButton
---
**Description:** Widget will be used to change app's theme.
**UI States:**
**Parameters:**
| Parameter Name | Type | Is Required | Description | Default Value | Additional Info |
| - | - | -| - | - | - |
|segments | List<String> | Yes | Segments to display | |
|widgetEventKey | String? | No | Widget event key that notifies for language change | neoSegmentedButtonChangeLanguage | Send current segment to WidgetEventBus whenever selected segment is changed
| padding | [EdgeInsetsDirectional](/NeoBank-\(BurganBank-On-Mobile-Revamp-Project\)/Flutter-Documentation/Flutter-Data/EdgeInsetsDirectional)?| No | Padding of the widget | null |
* Note that Flutter has SegmentedButton widget, you can customize this widget according to design requirements.
**Example Response**
```json
{
"type": "neo_segmented_button",
"segments": ["Türkçe", "İngilizce"],
"widgetEventKey": "neoSegmentedButtonChangeLanguage"
}
```