isBlock property

bool get isBlock

Whether this cursor is painted as a filled or hollow block.

Implementation

bool get isBlock =>
    visualStyle ==
        bindings
            .GhosttyRenderStateCursorVisualStyle
            .GHOSTTY_RENDER_STATE_CURSOR_VISUAL_STYLE_BLOCK ||
    visualStyle ==
        bindings
            .GhosttyRenderStateCursorVisualStyle
            .GHOSTTY_RENDER_STATE_CURSOR_VISUAL_STYLE_BLOCK_HOLLOW;