FAutoWidthPortalConstraints class final

Size constraints for a portal that has the same width as the child widget.

Inheritance

Constructors

FAutoWidthPortalConstraints({double minHeight = 0.0, double maxHeight = .infinity})
Creates a FPortalConstraints that has the same width as the child widget.
const
FAutoWidthPortalConstraints.tightFor({double? height})
Creates a FPortalConstraints that has the same width as the child widget.
const

Properties

hashCode → int
The hash code for this object.
no setteroverride
isNormalized → bool
Whether the constraint is expressed in a consistent manner.
no setteroverride
isTight → bool
Whether there is exactly one size possible given these constraints.
no setteroverride
maxHeight → double
The maximum height that satisfies the constraints.
final
minHeight → double
The minimum height that satisfies the constraints.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

debugAssertIsValid({bool isAppliedConstraint = false, InformationCollector? informationCollector}) → bool
Asserts that the constraints are valid.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
override

Operators

operator ==(Object other) → bool
The equality operator.
override