Flutter. NavigationRail playground

Image for post
Image for post

Main things you should know

1. groupAlignment

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

Image for post
Image for post
Image for post
Image for post
Image for post
Image for post

And that‘s’ it, pretty much 😉

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store