Flutter – When add shared preference in pubspec.yml while android studio throw error?
I have used Android Studio 2024 and Flutter 3.24.3. I am trying to install shared preferences: in Android Studio. it's a throwing error. I don't know how to solve it. After the comment shared preference in pubspec.yml, the project run…