Vector constructor

Vector({
  1. required String id,
  2. String? name,
  3. required bool visible,
  4. dynamic pluginData,
  5. dynamic sharedPluginData,
  6. bool? locked,
  7. List<ExportSetting>? exportSettings,
  8. BlendMode? blendMode,
  9. bool? preserveRatio,
  10. LayoutAlign? layoutAlign,
  11. double? layoutGrow,
  12. LayoutConstraint? constraints,
  13. String? transitionNodeID,
  14. double? transitionDuration,
  15. EasingType? transitionEasing,
  16. double? opacity,
  17. SizeRectangle? absoluteBoundingBox,
  18. List<Effect>? effects,
  19. Vector2D? size,
  20. List<List<num>>? relativeTransform,
  21. bool? isMask,
  22. List<Paint>? fills,
  23. List? fillGeometry,
  24. List<Paint>? strokes,
  25. double? strokeWeight,
  26. StrokeWeights? individualStrokeWeights,
  27. StrokeCap? strokeCap,
  28. StrokeJoin? strokeJoin,
  29. List<double>? strokeDashes,
  30. double? strokeMiterAngle,
  31. List? strokeGeometry,
  32. StrokeAlign? strokeAlign,
  33. Map<StyleTypeKey, String>? styles,
})

Implementation

Vector({
  required String id,
  String? name,
  required bool visible,
  dynamic pluginData,
  dynamic sharedPluginData,
  this.locked,
  this.exportSettings,
  this.blendMode,
  this.preserveRatio,
  this.layoutAlign,
  this.layoutGrow,
  this.constraints,
  this.transitionNodeID,
  this.transitionDuration,
  this.transitionEasing,
  this.opacity,
  this.absoluteBoundingBox,
  this.effects,
  this.size,
  this.relativeTransform,
  this.isMask,
  this.fills,
  this.fillGeometry,
  this.strokes,
  this.strokeWeight,
  this.individualStrokeWeights,
  this.strokeCap,
  this.strokeJoin,
  this.strokeDashes,
  this.strokeMiterAngle,
  this.strokeGeometry,
  this.strokeAlign,
  this.styles,
}) : super(
        id: id,
        name: name,
        visible: visible,
        pluginData: pluginData,
        sharedPluginData: sharedPluginData,
      );