total property

int get total

Number of total layers in the history. (include undone layers).

Implementation

int get total => _history._layers.length;