Description
Use case
I am running multiple flutter apps in the same repo by specifying the main.dart file
flutter build web -t lib/appOne/appOne.dart
flutter build web -t lib/appTwo/appTwo.dart
These apps share quite a bit of code, which is why I was doing it this way. So this works great. Now the issue is, I was using the flutter-web splashscreen trick of editing the HTML file so that the user does not have to wait for the app to load to see something. Now that I have multiple apps, it would be nice to specify the HTML file name on run or build. This way I can have separate splash screens per app.
I have not found too much information about what I am trying to do. I think for now I will create three separate html files and just copy them into index.html using a script before running or building.
Proposal
Be able to specify an optional html file path when building or running a flutter-web app.
flutter build web -t lib/appOne/appOne.dart --htmlPath web/appOne.html
I have not yet dove into flutters source code to see how/if this could be possible yet but I will do so soon.