LinearConstraints class
- Inheritance
-
- Object
- Constraints
- LinearConstraints
Constructors
- LinearConstraints({double min = 0, double max = double.infinity})
-
const
- LinearConstraints.height(BoxConstraints constraints)
- LinearConstraints.tight(double value)
-
const
- LinearConstraints.width(BoxConstraints constraints)
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- isBounded → bool
-
no setter
- 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
- max → double
-
final
- min → double
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
constrainMainAxisSize(
MainAxisSize mainAxisSize) → double -
debugAssertIsValid(
{bool isAppliedConstraint = false, InformationCollector? informationCollector}) → bool -
Asserts that the constraints are valid.
inherited
-
isSatisfiedBy(
double value) → bool -
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 <(
double value) → bool -
operator <=(
double value) → bool -
operator ==(
Object other) → bool -
The equality operator.
inherited
-
operator >(
double value) → bool -
operator >=(
double value) → bool
Constants
- zero → const LinearConstraints