StarNode constructor
StarNode({
- String? type,
- num? pointCount,
- num? innerRadius,
- StarNode clone()?,
- Constraints? constraints,
- Object? cornerRadius,
- num? cornerSmoothing,
- ReadonlyArray<
Annotation> ? annotations, - Vector? targetAspectRatio,
- void lockAspectRatio()?,
- 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),
);