GuiCheckBox method

(int, bool) GuiCheckBox(
  1. RectangleD bounds,
  2. String? text,
  3. bool checked
)

Implementation

(int result, bool checked) GuiCheckBox(
  RectangleD bounds,
  String? text,
  bool checked,
) => run(
  () => 'GuiCheckBox($bounds, $text, $checked)',
  () {
    final valuePtr = refBool1(checked);
    final result = rl.Gui.GuiCheckBox(
      _refRectangle1(bounds).ref,
      refStr(text),
      valuePtr,
    );
    return (result, valuePtr.value);
  },
);