LayoutOverflow constructor

const LayoutOverflow(
  1. bool scrollable,
  2. bool clipContent,
  3. bool reverse
)

Creates a layout overflow configuration.

The combination of scrollable and clipContent determines how overflow is handled:

  • scrollable=false, clipContent=false: Content is always visible (visible)
  • scrollable=true, clipContent=true: Content scrolls and is clipped (hidden)
  • scrollable=true, clipContent=false: Content scrolls but remains visible (scroll)
  • scrollable=false, clipContent=true: Content is clipped but not scrollable (clip)

Implementation

const LayoutOverflow(this.scrollable, this.clipContent, this.reverse);