Reference

CupertinoAppBar

CupertinoAppBar

CupertinoAppBar control. Build it with the cupertino_app_bar helper.

Example

cupertino_app_bar(
  title: text("Title"),
  leading: icon("menu"),
  trailing: icon("chevron_right"),
  bgcolor: :surface_container_high
)

Properties

  • automatic_background_visibility
  • automatically_imply_leading
  • automatically_imply_title
  • bgcolor — Background color.
  • border — Border definition.
  • brightness
  • enable_background_filter_blur
  • large
  • leading — Control placed before the main content (e.g. an icon or avatar).
  • padding — Inner spacing between the border and the content.
  • previous_page_title
  • title — The control shown as the title.
  • trailing — Control placed after the main content.
  • transition_between_routes

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

Reference

  • Family: cupertinos
  • Widget type: cupertinoappbar
  • Helper: cupertino_app_bar