StrokeNodePatch constructor

const StrokeNodePatch({
  1. required NodeId id,
  2. CommonNodePatch? common,
  3. PatchField<List<Offset>> points = const PatchField<List<Offset>>.absent(),
  4. PatchField<double> thickness = const PatchField<double>.absent(),
  5. PatchField<Color> color = const PatchField<Color>.absent(),
})

Implementation

const StrokeNodePatch({
  required super.id,
  super.common,
  this.points = const PatchField<List<Offset>>.absent(),
  this.thickness = const PatchField<double>.absent(),
  this.color = const PatchField<Color>.absent(),
});