I'm new in Flutter and I'm looking for something similar to generated BuildConfig class I know from classic Android development.
I'm using Gradle to generated some of the constants I need in my code.
I could find 2 BuildConfig files in my project, one in project/build/app/generated/source/buildConfig/projectName/BuildConfig.java
and other one in library called shared_preferences-0.2.5/android/build/intermediates/classes/debug.io.flutter.plugins.sharedpreferences/BuildConfig.java
.
I was able to write down a constant in first of BuildConfig, problem is, I cannot refer to it from my code.
What am I missing or doing wrong?