sizes property

Map<double, Widget> sizes
final

Creates a SwitchSize widget that switches between widgets at specified width breakpoints.

The sizes map associates screen width thresholds (in logical pixels) with corresponding Widget variants; the widget for the largest breakpoint <= current width is selected. Use this for multi-variant responsive designs, such as switching from compact to expanded views in Arcane components.

Implementation

final Map<double, Widget> sizes;