Beagle v1.6 is no longer actively maintained. The documented version you are viewing may contain deprecated functionality. For up-to-date documentation, see the latest version .
TabView is a component used to navigate between views that are listed in a tab. It displays all tabs that correspond to different previews that can be accessed through it.
The structure is represented by the attributes below:
|children||List<TabItem>||✓||List of tab items available in the |
|styleId||String||It uses a key that is registered in the Design System of evert platform to customize your component.|
|context||ContextData||Add a context to your |
TabView is a component item that has this structure:
|title||String||Displays the text in a |
|icon||Path||Displays a local image as an icon in the |
|child||Component||✓||Defines which |
Screen( child = Container( children = listOf( TabView(children = listOf( TabItem("Tab 1", Text("First Tab Content").applyFlex(flex = Flex(grow = 1.0)) ), TabItem("Tab 2", Text("Second Tab Content").applyFlex(flex = Flex(grow = 1.0)) ) ) ) ) ) )
|TabView full screen||TabView with dividing screen|
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.