enforceSpaceConstraints property
Sets whether the popup should automatically reposition itself based on space available relative to the viewport.
Implementation
@override
set enforceSpaceConstraints(bool enforceSpaceConstraints) {
state.enforceSpaceConstraints = enforceSpaceConstraints;
}