HighlightNode constructor

HighlightNode({
  1. String? type,
  2. HighlightNode clone()?,
  3. Constraints? constraints,
  4. Object? cornerRadius,
  5. num? cornerSmoothing,
  6. VectorNetwork? vectorNetwork,
  7. VectorPaths? vectorPaths,
  8. Object? handleMirroring,
  9. Future<void> setVectorNetworkAsync(
    1. VectorNetwork
    )?,
  10. SceneNode? stuckTo,
  11. Vector? targetAspectRatio,
  12. void lockAspectRatio()?,
  13. 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),
    );