dropdownAlignment property

Alignment dropdownAlignment
final

The alignment is used to calculate the center point for the animated height transition.

For example, if the y alignment is DropdownAlignment.center, the dropdown should begin its animation at the center and expand upward and downward.

If the alignment is DropdownAlignment.bottomCenter, bottomLeft, or bottomRight, the animation should begin from the y == 0 position of the dropdown and expand its height downward.

Implementation

final Alignment dropdownAlignment;