FAutoHeightPortalConstraints class final

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

Inheritance

Constructors

FAutoHeightPortalConstraints({double minWidth = 0.0, double maxWidth = .infinity})
Creates a FPortalConstraints that has the same height as the child widget.
const
FAutoHeightPortalConstraints.tightFor({double? width})
Creates a FPortalConstraints that has the same height 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
maxWidth → double
The maximum width that satisfies the constraints.
final
minWidth → double
The minimum width 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