showCursor method

void showCursor({
  1. required bool show,
})

show/hide the cursor

Implementation

void showCursor({required bool show}) {
  if (show) {
    _console.showCursor();
  } else {
    _console.hideCursor();
  }
}