code: def create_widget(self):
          
          d = self.declaration
          self.widget = CheckBox(self.get_context(), None,
                                 d.style or "@attr/checkboxStyle")
docs: Create the underlying widget.