setCursorColor method
Sets cursor color through setCursorStyleOptions.
Implementation
void setCursorColor(RendererHandle renderer, Color color) {
validateColorChannels(color);
_guardAlloc('Failed to set cursor color', (allocator) {
_native.setCursorStyleOptions(
renderer.value,
_unchangedCursorOption,
_unchangedCursorOption,
_colorToNative(color, allocator),
);
});
}