I have an assets folder in which I have a tab folder and then a list of folders and each folder contains some files
Now I want to read the names of all the fold
The easiest way to do this is, open your pubspec.yaml and in the assets line, change it as given below - just add the entire folder.
assets: - assets/
This will add all the folders and files in the asset folders.