ConstraintsHelper class

Helper class for working with constraints

Constructors

ConstraintsHelper()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

expand({double? width, double? height}) BoxConstraints
Create expand constraints
loose({required double width, required double height}) BoxConstraints
Create loose constraints with responsive values
responsive({double? minWidth, double? maxWidth, double? minHeight, double? maxHeight}) BoxConstraints
Create constraints with responsive values
tight({required double width, required double height}) BoxConstraints
Create tight constraints with responsive values