fillAndStrokePath method Null safety

void fillAndStrokePath(
  1. {bool evenOdd = false,
  2. bool close = false}
)

Draw a surface on the previously defined shape and then draw the contour set evenOdd to false to use the nonzero winding number rule to determine the region to fill and to true to use the even-odd rule to determine the region to fill

Implementation

void fillAndStrokePath({bool evenOdd = false, bool close = false}) {
  _buf.putString('${close ? 'b' : 'B'}${evenOdd ? '*' : ''}\n');
}