I getting this error, I don't get what a can do now, I am trying to import videos from a youtube channel ...
Asked
Active
Viewed 76 times
1

Pimpi Rimpà
- 75
- 1
- 8
-
1use `[]` instead, or just `List.empty()` – Lars Sep 22 '21 at 22:55
-
Does this answer your question? [The default 'List' constructor isn't available when null safety is enabled. Try using a list literal, 'List.filled' or 'List.generate'](https://stackoverflow.com/questions/63451506/the-default-list-constructor-isnt-available-when-null-safety-is-enabled-try) – jamesdlin Sep 23 '21 at 01:27
-
Thank you, I used List.empty(growable: true); now it works ;) – Pimpi Rimpà Sep 23 '21 at 09:57