BooleanOperationNode constructor
BooleanOperationNode({
- String? type,
- BooleanOperation? booleanOperation,
- BooleanOperationNode clone()?,
- ReadonlyArray<
SceneNode> ? children, - void appendChild()?,
- void insertChild()?,
- List<
SceneNode> findChildren([])?, - SceneNode? findChild()?,
- List<
SceneNode> findAll([])?, - SceneNode? findOne()?,
- Array<
Object> findAllWithCriteria<T extends List>()?, - Array<
WidgetNode> findWidgetNodesByWidgetId()?, - Object? cornerRadius,
- num? cornerSmoothing,
- bool? expanded,
- Vector? targetAspectRatio,
- void lockAspectRatio()?,
- void unlockAspectRatio()?,
Implementation
factory BooleanOperationNode({
_i2.String? type,
_i3.BooleanOperation? booleanOperation,
_i3.BooleanOperationNode Function()? clone,
_i4.ReadonlyArray<_i3.SceneNode>? children,
void Function(_i3.SceneNode)? appendChild,
void Function(
_i2.num,
_i3.SceneNode,
)? insertChild,
_i2.List<_i3.SceneNode> Function([_i2.bool Function(_i3.SceneNode)?])?
findChildren,
_i3.SceneNode? Function(_i2.bool Function(_i3.SceneNode))? findChild,
_i2.List<_i3.SceneNode> Function([_i2.bool Function(_i3.SceneNode)?])?
findAll,
_i3.SceneNode? Function(_i2.bool Function(_i3.SceneNode))? findOne,
_i4.Array<_i2.Object> Function<T extends _i2.List<_i2.dynamic>>(
_i3.FindAllCriteria<T>)?
findAllWithCriteria,
_i4.Array<_i3.WidgetNode> Function(_i2.String)? findWidgetNodesByWidgetId,
_i2.Object? cornerRadius,
_i2.num? cornerSmoothing,
_i2.bool? expanded,
_i3.Vector? targetAspectRatio,
void Function()? lockAspectRatio,
void Function()? unlockAspectRatio,
}) =>
BooleanOperationNode._(
type: type,
booleanOperation: booleanOperation?.name ?? _i7.undefined,
clone: clone == null ? null : _i5.allowInterop(clone),
children: children ?? _i7.undefined,
appendChild: appendChild == null ? null : _i5.allowInterop(appendChild),
insertChild: insertChild == null ? null : _i5.allowInterop(insertChild),
findChildren:
findChildren == null ? null : _i5.allowInterop(findChildren),
findChild: findChild == null
? null
: _i5.allowInterop(
(p0) => () => findChild(p0) ?? _i7.undefined ?? _i7.undefined),
findAll: findAll == null ? null : _i5.allowInterop(findAll),
findOne: findOne == null
? null
: _i5.allowInterop(
(p0) => () => findOne(p0) ?? _i7.undefined ?? _i7.undefined),
findAllWithCriteria: findAllWithCriteria == null
? null
: _i5.allowInterop(findAllWithCriteria),
findWidgetNodesByWidgetId: findWidgetNodesByWidgetId == null
? null
: _i5.allowInterop(findWidgetNodesByWidgetId),
cornerRadius: cornerRadius ?? _i7.undefined,
cornerSmoothing: cornerSmoothing,
expanded: expanded,
targetAspectRatio: targetAspectRatio ?? _i7.undefined,
lockAspectRatio:
lockAspectRatio == null ? null : _i5.allowInterop(lockAspectRatio),
unlockAspectRatio: unlockAspectRatio == null
? null
: _i5.allowInterop(unlockAspectRatio),
);