setShrinkCenterLast

open fun setShrinkCenterLast(shrinkCenterLast: Boolean)

Sets whether to shrink the center widget after other children.

By default, when there's no space to give all three children their natural widths, the start and end widgets start shrinking and the center child keeps natural width until they reach minimum width.

If set to FALSE, start and end widgets keep natural width and the center widget starts shrinking instead.

Since

4.12

Parameters

shrinkCenterLast

whether to shrink the center widget after others