InspectConstraints class

What a parent allowed a child to be.

Constructors

InspectConstraints({required double minWidth, required double maxWidth, required double minHeight, required double maxHeight})
const
InspectConstraints.fromJson(Map<String, Object?> json)
factory

Properties

hashCode → int
The hash code for this object.
no setterinherited
maxHeight → double
final
maxWidth → double
final
minHeight → double
final
minWidth → double
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

describe() → String
w 0..900, h 0..∞ — how a human reads it, and infinity written as something a terminal can print.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
sameAs(InspectConstraints? other) → bool
toJson() → Map<String, Object?>
Unbounded is absent, not Infinity. JSON has no infinity and jsonEncode throws on one, which is not a theoretical corner: an unbounded maxWidth is what most of a real tree is laid out under, so the first entry with a Column in it failed to encode at all.
toString() → String
A string representation of this object.
inherited

Operators

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