I'm trying to create an assets folder in android studio but the option is grayed out! [1]: https://i.sstatic.net/kbLO4.png
3 Answers
Just create a new directory on the same level as your pubspec.yaml file and add the following code to your pubspec.yaml:
flutter: assets: <---- add this - assets/ <---- add this # The following line ensures that the Material Icons font is # included with your application, so that you can use the icons in # the material Icons class. uses-material-design: true In my case I named the directory "assets". Your project structure should now look something like this:
├──android | ├──assets | ├──lib | └──pubspec.yaml