BitmapResize.to constructor

BitmapResize.to({
  1. int? width,
  2. int? height,
})

Implementation

BitmapResize.to({int? width, int? height})
    : resizeWidth = width,
      resizeHeight = height,
      assert(
        width != null || height != null,
        "You have to provide either width or height to resize an image",
      );