optionBoxDirection property

VerticalDirection? optionBoxDirection
final

The vertical direction attribute of the selectable label options widgets.

If it's VerticalDirection.up, the option box is fixed above the textField, and if it's VerticalDirection.down, it's below it.

If it's null, the vertical position of the appropriate option box will be calculated automatically. The calculation method is that when the offset of the textField from the bottom of the root layout is greater than minOptionBoxHeight or greater than the offset from the top, the option box is located below the textField, otherwise it is located above it.

See also:

Implementation

final VerticalDirection? optionBoxDirection;