How to include checkbox in widget backend form

%1$s besuchenHow to include checkbox in widget backend form

Let’s see that with one example (full code of a simple widget with one checkbox)