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

Added Material Navigation_Drawer in material demo #340

Merged
merged 17 commits into from
Oct 9, 2020
Merged

Added Material Navigation_Drawer in material demo #340

merged 17 commits into from
Oct 9, 2020

Conversation

Alabhya268
Copy link
Contributor

Gallery side - #334

Let me know if any thing needs to be changed

@google-cla
Copy link

google-cla bot commented Oct 8, 2020

Thanks for your pull request. It looks like this may be your first contribution to a Google open source project (if not, look below for help). Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

📝 Please visit https://cla.developers.google.com/ to sign.

Once you've signed (or fixed any issues), please reply here with @googlebot I signed it! and we'll verify it.


What to do if you already signed the CLA

Individual signers
Corporate signers

ℹ️ Googlers: Go here for more info.

@Alabhya268
Copy link
Contributor Author

@googlebot I signed it!

@Alabhya268 Alabhya268 marked this pull request as draft October 8, 2020 12:04
@Alabhya268 Alabhya268 marked this pull request as ready for review October 8, 2020 12:05
@Alabhya268 Alabhya268 marked this pull request as draft October 8, 2020 12:05
@Alabhya268 Alabhya268 marked this pull request as ready for review October 8, 2020 12:53
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 the contribution, this looks great!

Just a few small pieces of feedback :)

lib/demos/material/navigation_drawer.dart Outdated Show resolved Hide resolved
lib/demos/material/navigation_drawer.dart Outdated Show resolved Hide resolved
lib/demos/material/navigation_drawer.dart Outdated Show resolved Hide resolved
lib/demos/material/navigation_drawer.dart Outdated Show resolved Hide resolved
lib/l10n/intl_en.arb Outdated Show resolved Hide resolved
lib/l10n/intl_en.arb Outdated Show resolved Hide resolved
lib/l10n/intl_en.arb Outdated Show resolved Hide resolved
lib/l10n/intl_en.arb Outdated Show resolved Hide resolved
lib/l10n/intl_en.arb Outdated Show resolved Hide resolved
lib/l10n/intl_en.arb Outdated Show resolved Hide resolved
Copy link
Contributor

@clocksmith clocksmith left a comment

Choose a reason for hiding this comment

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

This looks really good!

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 so much for adding this! Looks good with just one last comment

lib/demos/material/navigation_drawer.dart Show resolved Hide resolved
@Alabhya268
Copy link
Contributor Author

This looks really good!

Thanks @clocksmith

@Alabhya268
Copy link
Contributor Author

Thanks so much for adding this! Looks good with just one last comment
Thanks @rami-a , I've just added trailing favorite icon ,please have a look

@Alabhya268 Alabhya268 requested a review from rami-a October 8, 2020 17:03
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.

Looking great, sorry just a couple more small suggestions

title: Text(
localization.demoNavigationDrawerToPageOne,
),
trailing: const Icon(Icons.favorite, color: Colors.red),
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 these as leading instead of trailing and remove the color and let them use the default color.

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 sure

title: Text(
localization.demoNavigationDrawerToPageTwo,
),
trailing: const Icon(Icons.favorite, color: Colors.red),
Copy link
Contributor

Choose a reason for hiding this comment

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

Nit: Make this one a different icon, something like Icons.comment

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

title: Text(
localization.demoNavigationDrawerToPageOne,
),
leading: const Icon(Icons.favorite, color: Colors.red),
Copy link
Contributor

Choose a reason for hiding this comment

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

Sorry if this wasn't clear in my earlier comment but please also remove the hardcoded color here too, and then it should be good to submit once @clocksmith approves too.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Sorry i didn't notice it earlier, I'll fix it .

@rami-a
Copy link
Contributor

rami-a commented Oct 8, 2020

Looks like there is a failing check due to the compiled app size:
https://github.com/flutter/gallery/pull/340/checks?check_run_id=1227443237

Could you please update this to 5000 just to be safe:
https://github.com/flutter/gallery/blob/master/integration_test/gallery_compile_test.dart#L11

@Alabhya268 Alabhya268 requested a review from rami-a October 9, 2020 14:00
@rami-a
Copy link
Contributor

rami-a commented Oct 9, 2020

Looking into why the golden tests is failing. It seems unrelated to your change @Alabhya268 so please bear with us.

cc @perclasson

@rami-a rami-a merged commit 8f84336 into flutter:master Oct 9, 2020
@rami-a
Copy link
Contributor

rami-a commented Oct 9, 2020

Thanks for fixing that @perclasson and thanks again @Alabhya268 for your contribution!

@Alabhya268
Copy link
Contributor Author

Alabhya268 commented Oct 12, 2020

Thanks for fixing that @perclasson and thanks again @Alabhya268 for your contribution!

Thanks @perclasson @rami-a your guidance and advice helped me through my first PR.

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.

4 participants