CommonNodePatch constructor

const CommonNodePatch({
  1. PatchField<Transform2D> transform = const PatchField<Transform2D>.absent(),
  2. PatchField<double> opacity = const PatchField<double>.absent(),
  3. PatchField<double> hitPadding = const PatchField<double>.absent(),
  4. PatchField<bool> isVisible = const PatchField<bool>.absent(),
  5. PatchField<bool> isSelectable = const PatchField<bool>.absent(),
  6. PatchField<bool> isLocked = const PatchField<bool>.absent(),
  7. PatchField<bool> isDeletable = const PatchField<bool>.absent(),
  8. PatchField<bool> isTransformable = const PatchField<bool>.absent(),
})

Implementation

const CommonNodePatch({
  this.transform = const PatchField<Transform2D>.absent(),
  this.opacity = const PatchField<double>.absent(),
  this.hitPadding = const PatchField<double>.absent(),
  this.isVisible = const PatchField<bool>.absent(),
  this.isSelectable = const PatchField<bool>.absent(),
  this.isLocked = const PatchField<bool>.absent(),
  this.isDeletable = const PatchField<bool>.absent(),
  this.isTransformable = const PatchField<bool>.absent(),
});