Bitmap.blank constructor

Bitmap.blank(
  1. int width,
  2. int height
)

Implementation

Bitmap.blank(
  this.width,
  this.height,
) : content = Uint8List.fromList(
        List.filled(width * height * RGBA32BitmapHeader.pixelLength, 0),
      );