crossAxisConstrained property

bool crossAxisConstrained
final

Whether the dropdown menu should be constrained by the cross axis of the dropdown trigger. It will work with menuConstraints to constrain the dropdown menu if applicable. It only takes effect when the menu is displaying.

Typically, it is specific if the dropdown menu should have the same width as the dropdown trigger.

Implementation

final bool crossAxisConstrained;