Closed cryptoweb3eth closed 3 years ago
@Songggao You'll need to report this here: https://github.com/flutterchina/website/issues Closing from here.
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of flutter doctor -v
and a minimal reproduction of the issue.
From URL: https://www.flutterchina.club/catalog/samples/animated_list.md codeblock line 15 ListModel _list;
Non-nullable instance field '_list' must be initialized. (Documentation) Try adding an initializer expression, or a generative constructor that initializes it, or mark it 'late'.
The analyzer produces this diagnostic when a field is declared and has all these characteristics: Has a type that’s potentially non-nullable Doesn’t have an initializer Isn’t marked as late