RectNodePatch constructor

const RectNodePatch({
  1. required NodeId id,
  2. CommonNodePatch? common,
  3. PatchField<Size> size = const PatchField<Size>.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(),
})

Implementation

const RectNodePatch({
  required super.id,
  super.common,
  this.size = const PatchField<Size>.absent(),
  this.fillColor = const PatchField<Color?>.absent(),
  this.strokeColor = const PatchField<Color?>.absent(),
  this.strokeWidth = const PatchField<double>.absent(),
});