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