code: def add_number_widget(self, ref, x=1, value=1):
          
  
          if ref not in self.widgets:
              widget = widgets.NumberWidget(screen=self, ref=ref, x=x, value=value)
              self.widgets[ref] = widget
              return self.widgets[ref]
docs: Add Number Widget