I’ve decided to create a playground for NavigationRail, where you could dynamically change values and see what it will effect and what errors could occur:
Main things you should know
The value must be between -1.0 and 1.0.If [groupAlignment] is -1.0, then the items are aligned to the top. If[groupAlignment] is 0.0, then the items are aligned to the center. If [groupAlignment] is 1.0, then the items are aligned to the bottom.The default is -1.0.
2. “Leading” and “Trailing” widgets
And that‘s’ it, pretty much 😉
If you would like to play with it you can check this Gist or redirect to the https://dartpad.dev/ an change code. Happy coding!