FAutoHeightPortalConstraints.tightFor constructor

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

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

Implementation

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