flutterandroid-studiopluginsbloc

Bloc plugin generates empty files often (Flutter)


Maybe anyone knows why the Bloc plugin in the Android Studio generates the empty files when you are creating the new templates? I tried to invalidate caches, restart IDE, reinstall the bloc plugin. Any idea will be helpful.


Solution

  • I think the problem was that I only had the bloc package as a dependency. After I installed flutter_bloc as well, it started working as expected.