Flutter : How do i change main.dart(entry point) to some other page in Flutter?

前端 未结 7 654
故里飘歌
故里飘歌 2020-12-16 15:08
  • I started working on the \"home page\" of the application in main.dart.
  • Then I created \"Login.dart\" page, and now i want my application t
相关标签:
7条回答
  • 2020-12-16 16:06

    If you want to build your release app with the main entrypoint in a file other than lib/config/main_production.dart, you have to do so like this:

    flutter build apk -t lib/config/main_production.dart
    
    0 讨论(0)
提交回复
热议问题