Reference

BottomAppBar

BottomAppBar

BottomAppBar control. Build it with the bottom_app_bar helper.

Example

bottom_app_bar(
  content: text("BottomAppBar"),
  bgcolor: :surface_container_high,
  expand: true,
  width: 240,
  on_animation_end: ->(event) {}
)

Properties

  • bgcolor — Background color.
  • border_radius — Corner radius.
  • clip_behavior — How content overflowing the bounds is clipped.
  • content — The single child control rendered inside this control.
  • elevation — Shadow depth (z-height).
  • notch_margin
  • padding — Inner spacing between the border and the content.
  • shadow_color — Color of the drop shadow.
  • shape — Shape/border of the control.

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: bottomappbar
  • Helper: bottom_app_bar