Open karan316 opened 4 years ago
go to user widget, in which go to userData class and replace final String strength with final int strength
go to user widget, in which go to userData class and replace final String strength with final int strength
thanks for pointing it out... wasted 2 hour of my life and found out that i did not declare the variable as int...
value: (_currentStrength ?? userData.strength).toDouble()
This code is giving an error because of userData.strength.