londonappbrewery / bitcoin-flutter-silver-solution

The Complete Flutter Development Bootcamp
https://www.appbrewery.co/
6 stars 9 forks source link

String Error #3

Open ravi238873 opened 2 years ago

ravi238873 commented 2 years ago

The bitCoinValue has been declared as string, but the data being fetched in the getData function is doubles. Because of which the setState is getting break.

Please suggest

faizan1947 commented 1 year ago

convert double to string data.toString(); here data is ur variable name