scale abstract method

void scale({
  1. double? x,
  2. double? y,
})

Indicates that a scale transform is expected next.

Calls are skipped until a call to Canvas.scale is found. The call's arguments are compared to those provided here. If any fail to match, or if no call to Canvas.scale is found, then the matcher fails.

Implementation

void scale({ double? x, double? y });