ConstraintsAttribute class
- Inheritance
-
- Object
- Attribute<
BoxConstraints> - ConstraintsAttribute
- Annotations
-
- @freezed
Constructors
- ConstraintsAttribute({double? width, double? minWidth, double? maxWidth, double? height, double? minHeight, double? maxHeight})
-
factory
- ConstraintsAttribute.fromAttributes({WidthAttribute? width, MinWidthAttribute? minWidth, MaxWidthAttribute? maxWidth, HeightAttribute? height, MinHeightAttribute? minHeight, MaxHeightAttribute? maxHeight})
-
factory
Properties
-
copyWith
→ $ConstraintsAttributeCopyWith<
ConstraintsAttribute> -
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- height → double?
-
no setterinherited
- maxHeight → double?
-
no setterinherited
- maxWidth → double?
-
no setterinherited
- minHeight → double?
-
no setterinherited
- minWidth → double?
-
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- value → BoxConstraints
-
Builds attribute into widget propety
no setteroverride
- width → double?
-
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