code: def add_icon_widget(self, ref, x=1, y=1, name="heart"):     
          
          
          
          if ref not in self.widgets:   
              widget = IconWidget(screen=self, ref=ref, x=x, y=y, name=name)
              self.widgets[ref] = widget
              return self.widgets[ref]
docs: Add Icon Widget