FAutoWidthPortalConstraints.tightFor constructor
const
FAutoWidthPortalConstraints.tightFor({
- double? height,
Creates a FPortalConstraints that automatically derive the width from the child and require the given height.
Implementation
const FAutoWidthPortalConstraints.tightFor({double? height})
: minHeight = height ?? 0,
maxHeight = height ?? double.infinity,
super._();