Reference

CupertinoNavigationBar

CupertinoNavigationBar

CupertinoNavigationBar control. Build it with the cupertino_navigation_bar helper.

Example

cupertino_navigation_bar(
  bgcolor: :surface_container_high,
  expand: true,
  width: 240,
  height: 120,
  on_change: ->(event) {}
)

Properties

  • active_color — Active color.
  • bgcolor — Background color.
  • border — Border definition.
  • destinations — The navigation destinations.
  • icon_size
  • inactive_color — Inactive color.
  • selected_index

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_change — Fired when the value changes.
  • on_size_change — Fired when the control's size changes.

Reference

  • Family: cupertinos
  • Widget type: cupertinonavigationbar
  • Helper: cupertino_navigation_bar