FPortalConstraints.tightFor constructor

const FPortalConstraints.tightFor({
  1. double? width,
  2. double? height,
})

Creates a FPortalConstraints that require the given width or height.

Implementation

const factory FPortalConstraints.tightFor({double? width, double? height}) = FixedConstraints.tightFor;