FAutoWidthPortalConstraints.tightFor constructor

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