Reference

ExpansionPanelList

ExpansionPanelList

ExpansionPanelList control. Build it with the expansion_panel_list helper.

Example

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

Properties

  • controls — The list of child controls.
  • divider_color — Divider color.
  • elevation — Shadow depth (z-height).
  • expand_icon_color — Expand icon color.
  • expanded_header_padding — Expanded header padding.
  • spacing

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: materials
  • Widget type: expansionpanellist
  • Helper: expansion_panel_list