GuiCheckBox method
Check Box control, returns true when active
Implementation
(GuiResult result, bool checked) GuiCheckBox(
RectangleD bounds,
String? text,
bool checked,
) => run(
() => _debugLabels.GuiCheckBox(bounds, text, checked),
() {
final valuePtr = $.Bool$.Ref1(checked);
final result = _flat.GuiCheckBox(
bounds,
$.String$.ValueOrNull(text),
valuePtr,
);
return (.fromValue(result), valuePtr.value);
},
);