showCursor property Null safety
Whether to paint the cursor.
Implementation
ValueNotifier<bool> get showCursor => _showCursor;
Implementation
set showCursor(ValueNotifier<bool> value) {
assert(value != null);
if (_showCursor == value) {
return;
}
if (attached) {
_showCursor.removeListener(_showHideCursor);
}
_showCursor = value;
if (attached) {
_showHideCursor();
_showCursor.addListener(_showHideCursor);
}
}