render method
Renders the widget onto the provided buffer within the specified area.
Implementation
@override
void render(Buffer buffer, Rect area) {
if (area.width <= 0 || area.height <= 0) return;
final box = value ? '[X]' : '[ ]';
buffer.writeString(0, 0, '$box $label', focused ? focusedStyle : style);
}