cursorStyle property

TextEditorCursorStyle? get cursorStyle

The rendering style of the cursor in this editor. When getting a text editor's options, this property will always be present. When setting a text editor's options, this property is optional.

Implementation

_i3.TextEditorCursorStyle? get cursorStyle => switch (_i5.getProperty(
      this,
      'cursorStyle',
    )) {
      _i2.String name => _i3.TextEditorCursorStyle.values.byName(name),
      _ => null
    };
set cursorStyle (TextEditorCursorStyle? value)

Implementation

set cursorStyle(_i3.TextEditorCursorStyle? value) {
  _i5.setProperty(
    this,
    'cursorStyle',
    value?.name ?? _i6.undefined,
  );
}