setCursorStyle method
Sets cursor style and blinking through setCursorStyleOptions.
Implementation
void setCursorStyle(RendererHandle renderer, int style, bool blinking) {
_checkUnsignedAbi(style, 3, 'style');
_guard('Failed to set cursor style', () {
_native.setCursorStyleOptions(
renderer.value,
style,
blinking ? 1 : 0,
nullptr,
);
});
}