showCursor method

void showCursor(
  1. Object owner,
  2. int x,
  3. int y, {
  4. CursorStyle style = CursorStyle.block,
  5. Color? color,
  6. bool blinking = true,
})

Shows the cursor at (x, y) on behalf of owner, applying style, color, and blinking.

Implementation

void showCursor(
  Object owner,
  int x,
  int y, {
  CursorStyle style = CursorStyle.block,
  Color? color,
  bool blinking = true,
}) {
  _owner = owner;
  _x = x;
  _y = y;
  _style = style;
  if (color != null) {
    _color = color;
  }
  _blinking = blinking;
  _visible = true;
  _applyCursor();
}