How to Solve NameError: name 'Widget' is not defined -- kivy

Solution: Import the 'Widget' module

To Solve the error, add the following line to the top of your code.

from kivy.uix.widget import Widget

 

For more information:
Python kivy Widget