Image<T> constructor

Image<T>({
  1. required int height,
  2. required int width,
  3. required int maxValue,
  4. required T defaultValue,
})

Implementation

Image(
    {required int height,
    required int width,
    required this.maxValue,
    required T defaultValue})
    : pixels = StaticMatrix<T>(
          height: height, width: width, defaultValue: defaultValue);