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

hashCode → int
The hash code for this object.
no setteroverride
isEmpty → bool
no setter
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

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