showCursor method Null safety
- {required bool show}
show/hide the cursor
Implementation
void showCursor({required bool show}) {
if (show) {
_console.showCursor();
} else {
_console.hideCursor();
}
}
show/hide the cursor
void showCursor({required bool show}) {
if (show) {
_console.showCursor();
} else {
_console.hideCursor();
}
}