FAutoWidthPortalConstraints.tightFor constructor

const FAutoWidthPortalConstraints.tightFor({
  1. double? height,
})

Creates a FPortalConstraints that has the same width as the child widget.

Implementation

const FAutoWidthPortalConstraints.tightFor({double? height})
  : minHeight = height ?? 0,
    maxHeight = height ?? .infinity,
    super._();