yo 0.4.46
yo: ^0.4.46 copied to clipboard
---
How to Install Yo #
flutter pub global activate yo
- Add this to Your PATH
[YOUR_FLUTTER_PARENT_DIRECTORY]\flutter\.pub-cache\bin
[YOUR_FLUTTER_PARENT_DIRECTORY]\flutter\bin\cache\dart-sdk\bin
[YOUR_FLUTTER_PARENT_DIRECTORY]\flutter\bin
- Another option is to use YoInstaller.exe
Download YoInstaller.exe and click the Install button.
Create Yo Project #
yo init
Create Module #
yo module create [module_name]
example:
yo module create product
yo module create product/product_list
yo module create product/product_form
Generate Icon #
- Update icon file in assets/icon/icon.png
- Run this command:
yo generate_icon
Remove Unused Import #
yo clean
Generate core.dart File #
yo core