code: def create_widget(self):
          
          d = self.declaration
          style = d.style if d.style else (
              '@attr/borderlessButtonStyle' if d.flat else '@attr/buttonStyle')
          self.widget = Button(self.get_context(), None, style)
docs: Create the underlying widget.