PathNodePatch constructor

const PathNodePatch({
  1. required NodeId id,
  2. CommonNodePatch? common,
  3. PatchField<String> svgPathData = const PatchField<String>.absent(),
  4. PatchField<Color?> fillColor = const PatchField<Color?>.absent(),
  5. PatchField<Color?> strokeColor = const PatchField<Color?>.absent(),
  6. PatchField<double> strokeWidth = const PatchField<double>.absent(),
  7. PatchField<V2PathFillRule> fillRule = const PatchField<V2PathFillRule>.absent(),
})

Implementation

const PathNodePatch({
  required super.id,
  super.common,
  this.svgPathData = const PatchField<String>.absent(),
  this.fillColor = const PatchField<Color?>.absent(),
  this.strokeColor = const PatchField<Color?>.absent(),
  this.strokeWidth = const PatchField<double>.absent(),
  this.fillRule = const PatchField<V2PathFillRule>.absent(),
});