Is there a standard way to define globally-available constants?
When coding, I'd normally define a class or something that held the variables, then I could import when needed (as opposed to just defining a global variable). I'm not sure how to do that with Custom Code.
For the moment, I'm only looking to store some details about user password requirements, but I figure I'll have other reasons for setting constants in the future.
I'm guessing the answer will be to create either a custom function or custom action (and possibly put into main.dart?). Does anyone have any suggestions?
As a temporary solution, I'm just using App State variables (but they aren't constant)
Thanks