Advertisement
joris

Flutter Notes

May 20th, 2020
163
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.93 KB | None | 0 0
  1. Create file build.env on root project
  2. ==============================================
  3. # pubspec.yaml -> name
  4. FLUTTER_PACKAGE_NAME=flutter_architecture
  5.  
  6. # App name appearing on the device
  7. APPLICATION_NAME=flutter_architecture
  8.  
  9. # pubspec.yaml -> description
  10. APPLICATON_DESCRIPTION=A new Flutter project with architecture using Provider and Stacked
  11.  
  12. # Package name; com.google.flutter etc.
  13. DOMAIN_NAME=com.joris.flutterarch
  14.  
  15. Run on terminal
  16. ==============================================
  17. flutter packages pub global run rn
  18.  
  19. Or Create a New Project
  20. ==============================================
  21. flutter create --org com.yourdomain appname
  22.  
  23. Create OFFLINE Project
  24. ==============================================
  25. flutter create --offline testapp
  26.  
  27. Rename package name
  28. ==============================================
  29. flutter pub global activate rename
  30. flutter pub global run rename --bundleId com.example.android.app --target android
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement