showCursor property

ValueNotifier<bool> showCursor

Whether to paint the cursor.

Implementation

ValueNotifier<bool> get showCursor => _showCursor;
void showCursor=(ValueNotifier<bool> value)

Implementation

set showCursor(ValueNotifier<bool> value) {
  if (_showCursor == value) {
    return;
  }
  if (attached) {
    _showCursor.removeListener(_showHideCursor);
  }
  if (_disposeShowCursor) {
    _showCursor.dispose();
    _disposeShowCursor = false;
  }
  _showCursor = value;
  if (attached) {
    _showHideCursor();
    _showCursor.addListener(_showHideCursor);
  }
}