ThumbnailSize.square constructor
const
ThumbnailSize.square(
- int dimension
Creates a square ThumbnailSize with the given dimension.
Implementation
const ThumbnailSize.square(int dimension)
: width = dimension,
height = dimension;