ImageGrayscale constructor

ImageGrayscale({
  1. required int width,
  2. required int height,
})

Create a new Grayscale image (values go from 0 to 255)

Implementation

ImageGrayscale({required int width, required int height})
    : super(height: height, width: width, maxValue: 255, defaultValue: 0);