TabBarView
A page view with one child per tab.
Inherits: LayoutControl, AdaptiveControl
Properties
clip_behavior- Defines how the controls will be clipped.controls- A list of controls, where each control represents the content of a corresponding tab.viewport_fraction- The fraction of the viewport that each page should occupy.
Properties
clip_behaviorclass-attributeinstance-attribute
clip_behavior: ClipBehavior = ClipBehavior.HARD_EDGEDefines how the controls will be clipped.
controlsinstance-attribute
controls: list[Control]A list of controls, where each control represents the content of a corresponding tab. So, a control at index i in this list is displayed when the Tab at index i is selected.
Note
The length of this list must be equal to the number of tabs specified in an ancestor Tabs control.