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) {
  assert(value != null);
  if (_showCursor == value)
    return;
  if (attached)
    _showCursor.removeListener(markNeedsPaint);
  _showCursor = value;
  if (attached)
    _showCursor.addListener(markNeedsPaint);
  markNeedsPaint();
}