hasContent property

bool get hasContent

Whether the editor has non-empty content.

Implementation

bool get hasContent => _codeController.text.trim().isNotEmpty;