SoftwareTexture constructor
      
      SoftwareTexture(
    
- Size size
size holds the width and height in pixels of this texture
Implementation
SoftwareTexture(Size size)
    : width = size.width.toInt(),
      height = size.height.toInt() {
  buffer = Uint8List(width * height * bytesPerPixel);
}