isEmpty property

bool get isEmpty

Whether the panel has no history items.

Implementation

bool get isEmpty => undoItems.isEmpty && redoItems.isEmpty;