FAutoHeightPortalConstraints.tightFor constructor
const
FAutoHeightPortalConstraints.tightFor({
- 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._();