backgroundImageSize property

Size? get backgroundImageSize

Implementation

Size? get backgroundImageSize {
  ui.Image? image = _imagePainter?._image?.image;
  if (image == null) {
    return null;
  }
  double imageWidth = image.width.toDouble();
  double imageHeight = image.height.toDouble();
  return Size(imageWidth, imageHeight);
}