setCursorStyle method
Sets renderer's cursor shape to style with optional blinking.
Throws FFIException on failure.
Implementation
void setCursorStyle(
Pointer<RendererHandle> renderer,
String style,
bool blinking,
) {
_guardAlloc('Failed to set cursor style', (alloc) {
final (stylePtr, styleLen) = _utf8(alloc, style);
_generated.setCursorStyle(renderer.cast(), stylePtr, styleLen, blinking);
});
}