GuiBitmapBuffer constructor
Create a bitmap buffer with header prepopulated with necessary data. The actual image data must still be populated by the user.
Implementation
GuiBitmapBuffer(
{required this.width,
required this.height,
this.bitsPerPixel = bitsPerPixelArgb}) {
_prepareHeader();
}