enforceSpaceConstraints property

bool get enforceSpaceConstraints

If true, the popup will attempt to make intelligent decisions about positioning and layout depending on the size of the inner content and the distance to the viewport edges.

Implementation

bool get enforceSpaceConstraints =>
    _backingMap[#enforceSpaceConstraints] as bool? ?? false;
set enforceSpaceConstraints (bool? enforceSpaceConstraints)

Implementation

set enforceSpaceConstraints(bool? enforceSpaceConstraints) {
  _backingMap[#enforceSpaceConstraints] = enforceSpaceConstraints;
}