0

when i want to use List constructor I get an error like this

checkList = List<.Check>();

"The default 'List' constructor isn't available when null safety is enabled. " What can I do to fix it?

Erato
  • 11
  • 1
  • 3
  • Please try always to search first before asking a questoin as this one was already answered [here](https://stackoverflow.com/questions/63451506/why-list-constructor-is-not-accessible-after-darts-null-safety). – croxx5f Jun 17 '21 at 19:44
  • 1
    Does this answer your question? [Why List() constructor is not accessible after Dart's null safety?](https://stackoverflow.com/questions/63451506/why-list-constructor-is-not-accessible-after-darts-null-safety) – croxx5f Jun 17 '21 at 19:45

0 Answers0