HighlightNode constructor
HighlightNode({
- String? type,
- HighlightNode clone()?,
- Constraints? constraints,
- Object? cornerRadius,
- num? cornerSmoothing,
- VectorNetwork? vectorNetwork,
- VectorPaths? vectorPaths,
- Object? handleMirroring,
- Future<
void> setVectorNetworkAsync()?, - SceneNode? stuckTo,
- Vector? targetAspectRatio,
- void lockAspectRatio()?,
- void unlockAspectRatio()?,
Implementation
factory HighlightNode({
_i2.String? type,
_i3.HighlightNode Function()? clone,
_i3.Constraints? constraints,
_i2.Object? cornerRadius,
_i2.num? cornerSmoothing,
_i3.VectorNetwork? vectorNetwork,
_i3.VectorPaths? vectorPaths,
_i2.Object? handleMirroring,
_i2.Future<void> Function(_i3.VectorNetwork)? setVectorNetworkAsync,
_i3.SceneNode? stuckTo,
_i3.Vector? targetAspectRatio,
void Function()? lockAspectRatio,
void Function()? unlockAspectRatio,
}) =>
HighlightNode._(
type: type,
clone: clone == null ? null : _i5.allowInterop(clone),
constraints: constraints ?? _i7.undefined,
cornerRadius: cornerRadius ?? _i7.undefined,
cornerSmoothing: cornerSmoothing,
vectorNetwork: vectorNetwork ?? _i7.undefined,
vectorPaths: vectorPaths ?? _i7.undefined,
handleMirroring: handleMirroring ?? _i7.undefined,
setVectorNetworkAsync: setVectorNetworkAsync == null
? null
: _i5.allowInterop(setVectorNetworkAsync),
stuckTo: stuckTo ?? _i7.undefined ?? _i7.undefined,
targetAspectRatio: targetAspectRatio ?? _i7.undefined,
lockAspectRatio:
lockAspectRatio == null ? null : _i5.allowInterop(lockAspectRatio),
unlockAspectRatio: unlockAspectRatio == null
? null
: _i5.allowInterop(unlockAspectRatio),
);