saveLayer method

void saveLayer(
  1. Rect bounds,
  2. Paint paint
)

Directly calls Canvas.saveLayer

Implementation

void saveLayer(Rect bounds, Paint paint) => canvas.saveLayer(bounds, paint);