Whether the editor has non-empty content.
bool get hasContent => _codeController.text.trim().isNotEmpty;