StarNode constructor

StarNode({
  1. String? type,
  2. num? pointCount,
  3. num? innerRadius,
  4. StarNode clone()?,
  5. Constraints? constraints,
  6. Object? cornerRadius,
  7. num? cornerSmoothing,
  8. ReadonlyArray<Annotation>? annotations,
  9. Vector? targetAspectRatio,
  10. void lockAspectRatio()?,
  11. void unlockAspectRatio()?,
})

Implementation

factory StarNode({
  _i2.String? type,
  _i2.num? pointCount,
  _i2.num? innerRadius,
  _i3.StarNode Function()? clone,
  _i3.Constraints? constraints,
  _i2.Object? cornerRadius,
  _i2.num? cornerSmoothing,
  _i4.ReadonlyArray<_i3.Annotation>? annotations,
  _i3.Vector? targetAspectRatio,
  void Function()? lockAspectRatio,
  void Function()? unlockAspectRatio,
}) =>
    StarNode._(
      type: type,
      pointCount: pointCount,
      innerRadius: innerRadius,
      clone: clone == null ? null : _i5.allowInterop(clone),
      constraints: constraints ?? _i7.undefined,
      cornerRadius: cornerRadius ?? _i7.undefined,
      cornerSmoothing: cornerSmoothing,
      annotations: annotations ?? _i7.undefined,
      targetAspectRatio: targetAspectRatio ?? _i7.undefined,
      lockAspectRatio:
          lockAspectRatio == null ? null : _i5.allowInterop(lockAspectRatio),
      unlockAspectRatio: unlockAspectRatio == null
          ? null
          : _i5.allowInterop(unlockAspectRatio),
    );