VectorImagePainter constructor

VectorImagePainter({
  1. required List<VectorDrawableElement> vectorDefinition,
  2. double? baseImageSize,
})

Only vectorDefinition is required vectorDefinition (List of VectorDrawableElement) : Elements that compose the Vector to be drawn baseImageSize (double) : Size of the original image

Implementation

VectorImagePainter({
  required this.vectorDefinition,
  this.baseImageSize,
});