GuiCheckBox method
Implementation
@override
(int result, bool checked) GuiCheckBox(
RectangleD bounds,
String? text,
bool checked,
) => run(
() => RaylibDebugLabels.GuiCheckBox(bounds, text, checked),
() {
final valuePtr = rl.Temp.Bool$.Ref1(checked);
final result = rl.Gui.GuiCheckBox.run3(
rl.Temp.Rectangle$.Ref1(bounds).toJS,
text?.toJS,
valuePtr.toJS,
).toInt();
return (result, valuePtr.value);
},
);