$options = get_option( 'textdomain_settings' );
?>
<input type="checkbox" name="textdomain_settings[textdomain_checkbox_field_0]" <?php checked( $options['textdomain_checkbox_field_0'], 1 ); ?> value="1">
<?php
Use this settings under Callback Field Function or you can generate code form here for settings api directly.