Skip to content
This repository was archived by the owner on Jun 13, 2024. It is now read-only.

Added Navigation Rail demo to Material section#342

Merged
clocksmith merged 12 commits intoflutter:masterfrom
Alabhya268:master
Oct 13, 2020
Merged

Added Navigation Rail demo to Material section#342
clocksmith merged 12 commits intoflutter:masterfrom
Alabhya268:master

Conversation

@Alabhya268
Copy link
Contributor

@Alabhya268 Alabhya268 commented Oct 10, 2020

Gallery Side - Closes #190

@Alabhya268 Alabhya268 marked this pull request as ready for review October 10, 2020 08:52
@Alabhya268
Copy link
Contributor Author

Please let me know if anything needs to be changed.

@Alabhya268
Copy link
Contributor Author

@rami-a could you please have a look at this PR.

Copy link
Contributor

@rami-a rami-a left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for another contribution @Alabhya268 ! Looks pretty good but could you address my feedback please :)

@rami-a rami-a requested a review from clocksmith October 12, 2020 19:14
@Alabhya268
Copy link
Contributor Author

Thanks for another contribution @Alabhya268 ! Looks pretty good but could you address my feedback please :)

I've made necessary changes please have a look .

Copy link
Contributor

@rami-a rami-a left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, just one small comment :)

selectedIndex: _selectedIndex,
onDestinationSelected: (index) {
setState(
() {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: can this be moved up 1 line?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sure

},
);
},
labelType: NavigationRailLabelType.selected,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good choice for this demo!

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks

@Alabhya268 Alabhya268 requested a review from clocksmith October 13, 2020 15:52
Copy link
Contributor

@rami-a rami-a left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM with one last tiny nit, thanks!

children: [
NavigationRail(
leading: FloatingActionButton(
child: const Icon(Icons.add), onPressed: () {}),
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nit: Add a trailing comma and reformat.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

also thanks for guiding me.

@clocksmith clocksmith merged commit ebc403d into flutter:master Oct 13, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add Navigation Rail demo to Material section

3 participants