isScalable property
bool
get
isScalable
Whether the image uses a vector format and supports lossless scaling.
Vector images can be rendered at any size without quality degradation. Raster images return false and may show pixelation when scaled.
Returns
truefor vector/scalable images,falsefor raster images
Implementation
bool get isScalable {
final OperationResult resultString = objectMethod(
pointerId,
'ImgFlutter',
'isScalable',
);
return resultString['result'] == 1;
}