Open hasnainriaz708 opened 3 years ago
Solution :
Step 1 : Create a new flutter project at your local system
Step 2 : Copy the code given in 'main.dart' file of stub project and paste it into 'main.dart' file of your local project
Step 3 : Make an 'assets' folder in your local project
Step 4 : download sound-files from github and put them into your local 'assets' folder
Step 5 : in your local pubspec.yaml file, add dependency for your 'assets' folder
Step 6 : Rename 'MyApp()' in widget testing file to 'MaterialApp()'
Hit save(in files other than pubspec.yaml), get all dependencies(in pubspec.yaml) and you're good to go
Just Copy assests file and create a new Project. All Done!