Gorniv / vscode-flutter-files

Quickly create files for flutter using a BLoC pattern
https://marketplace.visualstudio.com/items?itemName=gornivv.vscode-flutter-files
MIT License
59 stars 25 forks source link

File(s) could not be created. TypeError: Cannot read property 'name' of undefined #7

Closed nguyenhuutinh closed 5 years ago

nguyenhuutinh commented 5 years ago

Cannot create new big pack bloc due to this error

I'm using MacOs

nguyenhuutinh commented 5 years ago

another error: Error: TypeError: Cannot read property 'has' of undefined

nathanbrizzee commented 5 years ago

I get the same error on Windows. This extension worked a few days ago but recently broke.

Gorniv commented 5 years ago

Thank you! This bug was reproduced without using custom templates. 1.3.2 - fixed. Custom templates are great;)

nguyenhuutinh commented 5 years ago

thanks for quick support.

btw, Custom templates ? what is it?

Gorniv commented 5 years ago

@nguyenhuutinh you can copy folder 'templates' from this repository to your project and change files. See the second gif on the readme