Vector constructor
Vector({
- required String id,
- String? name,
- required bool visible,
- dynamic pluginData,
- bool? locked,
- List<
ExportSetting> ? exportSettings, - BlendMode? blendMode,
- bool? preserveRatio,
- LayoutAlign? layoutAlign,
- double? layoutGrow,
- LayoutConstraint? constraints,
- String? transitionNodeID,
- double? transitionDuration,
- EasingType? transitionEasing,
- double? opacity,
- SizeRectangle? absoluteBoundingBox,
- List<
Effect> ? effects, - Vector2D? size,
- List<
List< ? relativeTransform,num> > - bool? isMask,
- List<
Paint> ? fills, - List? fillGeometry,
- List<
Paint> ? strokes, - double? strokeWeight,
- StrokeWeights? individualStrokeWeights,
- StrokeCap? strokeCap,
- StrokeJoin? strokeJoin,
- List<
double> ? strokeDashes, - double? strokeMiterAngle,
- List? strokeGeometry,
- StrokeAlign? strokeAlign,
- 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,
);