I’m not sure what version of Flutter and Dart, you’re running but you may need to have slightly different code depending on which version you use along with the dependencies you’re pulling. For example, when I migrated the app to null safety and updated the dependencies along with it, line 16 needed to be List<dynamic>
. You may need to fiddle with the code a bit until it’s right for your environment
1 Like