Thumbnail constructor
const
Thumbnail(
- int _width,
- int _height, {
- ResizeType resizeType = ResizeType.clip,
- List<
CropType> cropTypes = const [CropType.center],
Thumbnail constructor
Implementation
const Thumbnail(this._width, this._height,
{this.resizeType = ResizeType.clip,
this.cropTypes = const [CropType.center]})
: assert(_width > 0, 'Width should be a positive number'),
assert(_height > 0, 'Height should be a positive number');