BoxConstraints class final
Flutter's BoxConstraints, where a missing bound means unconstrained.
- Annotations
-
- @immutable
Constructors
- BoxConstraints({double? minWidth, double? maxWidth, double? minHeight, double? maxHeight})
-
const
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Json -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override
Static Methods
-
fromJson(
Object? json) → BoxConstraints
Constants
- none → const BoxConstraints