⌂
›
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_visibilityautomatically_imply_leadingautomatically_imply_titlebgcolor— Background color.border— Border definition.brightnessenable_background_filter_blurlargeleading— Control placed before the main content (e.g. an icon or avatar).padding— Inner spacing between the border and the content.previous_page_titletitle— 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