clear method

void clear()

clear the canvas

Implementation

void clear() {
  value = <Point>[];
  _latestActions.clear();
  _revertedActions.clear();
}