FAutoHeightPortalConstraints.tightFor constructor

const FAutoHeightPortalConstraints.tightFor({
  1. double? width,
})

Creates a FPortalConstraints that automatically derive the height from the child and require the given width.

Implementation

const FAutoHeightPortalConstraints.tightFor({double? width})
  : minWidth = width ?? 0,
    maxWidth = width ?? double.infinity,
    super._();