LineNodePatch constructor

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

Implementation

const LineNodePatch({
  required super.id,
  super.common,
  this.start = const PatchField<Offset>.absent(),
  this.end = const PatchField<Offset>.absent(),
  this.thickness = const PatchField<double>.absent(),
  this.color = const PatchField<Color>.absent(),
});