I have seen that main.dart can call a custom action as either an initial action or a final action. To be able to do that, the custom action must not take any parameters, which I suppose is far enough because where would they come from?
What I would like to do is call one of my custom actions that normally takes parameters so that I can do some initialisation. Is it possible for a custom action to contain two entry points? One without parameters and one with parameters?
I expect this is not possible but if it isn't, I suppose a solution is to have a wrapper action that takes no parameters and it calls the real custom action with the required parameters.