728x90
반응형

플러터 문법이 바뀌었는지...
인강을 듣다보니 List<Store>(); 가 먹지를 않는다...
구글링을 해 보니
List<Store>();
대신
<Store>[];
로 명시하면, 에러 문구가 사라진다
728x90
반응형
'Flutter(dart)' 카테고리의 다른 글
| Container와 Child의 관계 도식화 (margin, padding) (0) | 2022.11.06 |
|---|---|
| Please enable Developer Mode in your system settings (0) | 2022.11.02 |
| Cannot run with sound null safety, because the following dependencies don't support null safety: (0) | 2022.11.01 |
| The argument type 'String' can't be assigned to the parameter type (0) | 2022.10.28 |
| The methods 'RaisedButton' isn't defined (0) | 2022.10.28 |