paintCursorAboveText property

bool paintCursorAboveText

If the cursor should be painted on top of the text or underneath it.

By default, the cursor should be painted on top for iOS platforms and underneath for Android platforms.

Implementation

bool get paintCursorAboveText => _paintCursorOnTop;
void paintCursorAboveText= (bool value)

Implementation

set paintCursorAboveText(bool value) {
  if (_paintCursorOnTop == value)
    return;
  _paintCursorOnTop = value;
  markNeedsLayout();
}