BoxConstraintsDto class DTO
Represents a Data transfer object of BoxConstraints
This is used to allow for resolvable value tokens, and also the correct merge and combining behavior. It allows to be merged, and resolved to a `BoxConstraints
See also:
- BoxConstraints, which is the Flutter counterpart of this class.
- ConstraintsDto, which is the base class for this class.
- Inheritance
-
- Object
- Dto<
BoxConstraints> - ConstraintsDto<
BoxConstraintsDto, BoxConstraints> - BoxConstraintsDto
Constructors
- BoxConstraintsDto({double? minWidth, double? maxWidth, double? minHeight, double? maxHeight})
-
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- maxHeight → double?
-
final
- maxWidth → double?
-
final
- minHeight → double?
-
final
- minWidth → double?
-
final
-
props
→ List<
Object?> -
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- stringify → bool
-
no setterinherited
Methods
-
getDiff(
EqualityMixin other) → Map< String, String> -
inherited
-
merge(
covariant BoxConstraintsDto? other) → BoxConstraintsDto -
Merges this BoxConstraintsDto with
otherBoxConstraintsDtooverride -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
resolve(
MixData mix) → BoxConstraints -
Resolves this BoxConstraintsDto with a given MixData to a BoxConstraints
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited