Reference

TabBarView

TabBarView

TabBarView control. Build it with the tab_bar_view helper.

Example

tab_bar_view(
  expand: true,
  width: 240,
  height: 120,
  on_animation_end: ->(event) {}
)

Properties

  • adaptive — Adapts to the platform (Material/Cupertino) when true.
  • clip_behavior — How content overflowing the bounds is clipped.
  • controls — The list of child controls.
  • viewport_fraction

Plus the common layout and animation properties shared by most controls (expand, visible, disabled, opacity, width, height, align, tooltip, animate_*, …).

Events

  • on_animation_end — Fired when an animation completes.
  • on_size_change — Fired when the control's size changes.

Reference

  • Family: materials
  • Widget type: tabbarview
  • Helper: tab_bar_view