isRecording property

bool get isRecording

Whether this object is currently recording commands.

Specifically, this returns true if a Canvas object has been created to record commands and recording has not yet ended via a call to endRecording, and false if either this PictureRecorder has not yet been associated with a Canvas, or the endRecording method has already been called.

Implementation

bool get isRecording;