SizeConstraint class
Constraints of asset pixel width and height.
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- ignoreSize → bool
-
When set to true, all constraints are ignored and all sizes of images are displayed.
final
- maxHeight → int
-
final
- maxWidth → int
-
final
- minHeight → int
-
final
- minWidth → int
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
copyWith(
{int? minWidth, int? maxWidth, int? minHeight, int? maxHeight, bool? ignoreSize}) → SizeConstraint -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited