How to Solve NameError: name 'StringProperty' is not defined -- kivy
Solution: Import the 'StringProperty' module
To Solve the error, add the following line to the top of your code.
from kivy import StringProperty
For more information:
Python kivy StringProperty