Reference

Tab

Tab

Tab control. Build it with the tab helper.

Example

tab(
  label: "Label",
  icon: "add",
  expand: true,
  height: 120
)

Properties

  • adaptive — Adapts to the platform (Material/Cupertino) when true.
  • icon — Icon name shown by the control.
  • icon_margin
  • label — Text label shown for the control.

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

Reference

  • Family: materials
  • Widget type: tab
  • Helper: tab