getSize method
Calculates the size of the rendered object.
Implementation
@override
Size getSize({double minWidth = 0.0, double maxWidth = double.infinity}) {
return Size(
image.width * scale,
image.height * scale,
);
}
Calculates the size of the rendered object.
@override
Size getSize({double minWidth = 0.0, double maxWidth = double.infinity}) {
return Size(
image.width * scale,
image.height * scale,
);
}