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