Reference

SelectionArea

SelectionArea

SelectionArea control. Build it with the selection_area helper.

Example

selection_area(
  content: text("SelectionArea"),
  expand: true,
  on_change: ->(event) {}
)

Properties

  • content — The single child control rendered inside this control.

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

Events

  • on_change — Fired when the value changes.

Reference

  • Family: materials
  • Widget type: selectionarea
  • Helper: selection_area