translate abstract method
Indicates that a translation transform is expected next.
Calls are skipped until a call to Canvas.translate is found. The call's arguments are compared to those provided here. If any fail to match, or if no call to Canvas.translate is found, then the matcher fails.
Implementation
void translate({ double? x, double? y });