1)Create a new flutter project(File--> new flutter project)
2)Transfer Lib, assets, font, pubspec.yaml, pubspec.lock
3)pub update in pubspec.yaml of new project
4) change the kotlin version to latest version like 1.5.10 in android/build.gradle path in new project.