src/FormBuilder.php
public function checkbox($name, $value = 1, $checked = null, array $attributes = [])
    {
        return $this->checkable('checkbox', $name, $value, $checked, $attributes);
    }
public function checkbox($name, $value = 1, $checked = null, array $attributes = [])
    {
        return $this->checkable('checkbox', $name, $value, $checked, $attributes);
    }
Create a checkbox input field.

@param  string     $name
@param  mixed      $value
@param  bool|null  $checked
@param  array      $attributes

@return \Arcanedev\Html\Elements\Input