VectorBase constructor
VectorBase({
- required VectorImagePainter painter,
- required double baseImageSize,
- required double requestSize,
Both painter and baseImagesSize are required painter (VectorImagePainter) : the Painter that helps use draw the Vector baseImageSize (double) : the size of the original image requestSize (double) : the wanted size
Implementation
VectorBase({
required VectorImagePainter painter,
required double baseImageSize,
required double requestSize,
}) : super(
painter: painterWithDrawingZoneAndBaseImageSizeSet(
painter, baseImageSize),
size: Size.square(requestSize));