Tab View Content

The Tab View Content widget displays the content for the currently selected tab. It is used in conjunction with a Tab Controller and a Tab Bar.

Properties

Property
Description

isScrollable

If true, the content of each tab can be scrolled.

keepTabsAlive

If true, the state of each tab's content is preserved as it scrolls off-screen.

viewportFraction

The fraction of the viewport that each tab's content should occupy.


Default Properties

The Tab View Content widget supports all three sections of default properties:

Layout

  • width

  • height

  • padding

  • margin

  • align

Appearance

  • bgColor

  • borderRadius

  • border

    • borderWidth

    • borderColor

    • borderType (e.g., solid, dashed)

    • strokeAlign

Interactions

  • onClick — Used to add actions to the Tab View Content widget.

Last updated