clear method

void clear()

Clears the editor content.

Implementation

void clear() {
  _codeController.text = '';
}