ThumbnailSize class
Constructors
- ThumbnailSize(int width, int height)
-
const
- ThumbnailSize.square(int dimension)
-
Creates a square ThumbnailSize whose width and height
are the given dimension.
const
Properties
- flipped → ThumbnailSize
-
A ThumbnailSize with the width and height swapped.
read-only
- hashCode → int
-
The hash code for this object.
read-only, override
- height → int
-
The height pixels.
final
- isEmpty → bool
-
Whether this size encloses a non-zero area.
read-only
- runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
- width → int
-
The width pixels.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
Compares two Sizes for equality.
override