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

Added Navigation Rail demo to Material section #342

Merged
merged 12 commits into from
Oct 13, 2020
Merged

Added Navigation Rail demo to Material section #342

merged 12 commits into from
Oct 13, 2020

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 :)

lib/data/icons.dart Show resolved Hide resolved
lib/demos/material/navigation_rail_demo.dart Outdated Show resolved Hide resolved
lib/demos/material/navigation_rail_demo.dart Outdated Show resolved Hide resolved
lib/demos/material/navigation_rail_demo.dart Outdated Show resolved Hide resolved
lib/l10n/intl_en.arb Outdated Show resolved Hide resolved
@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 :)

lib/data/icons.dart Show resolved Hide resolved
lib/demos/material/navigation_rail_demo.dart Show resolved Hide resolved
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

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