Skip to content

Rework of "Lay out a widget" + use of code-excerpts #2235

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jan 23, 2019

Conversation

chalin
Copy link
Contributor

@chalin chalin commented Jan 17, 2019

This PR has the reworked "Lay out a widget" section only. Note that I changed the numbered list to section headings. I did this because the numbered list just didn't work anymore: item 4 was a page and a half long. At that length readers lose the context of the numbered list.

Contributes to #2233

https://flutter-io-staging-2.firebaseapp.com/docs/development/ui/layout#lay-out-a-widget

@chalin chalin requested a review from sfshaza2 January 17, 2019 21:27
@googlebot googlebot added the cla: yes Contributor has signed the Contributor License Agreement label Jan 17, 2019
@chalin chalin force-pushed the chalin-layout-a-widget-0117 branch 2 times, most recently from 4f1ab0c to ee93f9b Compare January 17, 2019 22:16
@@ -72,170 +72,158 @@ the children should occupy.

## Lay out a widget

{{site.alert.secondary}}
<h4 class="no_toc">What's the point?</h4>
Copy link
Contributor Author

Choose a reason for hiding this comment

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

@sfshaza2 - I dropped the "What's the point" alert for this section. Most points didn't seem that helpful, except for one -- concerning Scaffold -- which I moved into the main text because it wasn't even discussed there. WDYT?

Copy link
Contributor

Choose a reason for hiding this comment

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

OK

@chalin chalin force-pushed the chalin-layout-a-widget-0117 branch 3 times, most recently from 75dc0b2 to 12d08c7 Compare January 17, 2019 22:49
@kwalrath kwalrath requested review from kwalrath and removed request for sfshaza2 January 18, 2019 19:24
@chalin chalin force-pushed the chalin-layout-a-widget-0117 branch from 12d08c7 to 1ea7fdf Compare January 18, 2019 23:09
@chalin chalin force-pushed the chalin-layout-a-widget-0117 branch from 1ea7fdf to 2232e5c Compare January 21, 2019 18:23
@kwalrath kwalrath requested review from sfshaza2 and removed request for kwalrath January 22, 2019 23:20
Copy link
Contributor

@sfshaza2 sfshaza2 left a comment

Choose a reason for hiding this comment

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

I was a little surprised to see the copyright notice on the code removed.

Otherwise, LGTM

@chalin
Copy link
Contributor Author

chalin commented Jan 23, 2019

I was a little surprised to see the copyright notice on the code removed.

We discussed this offline.

@chalin chalin merged commit 03d384f into master Jan 23, 2019
@chalin chalin deleted the chalin-layout-a-widget-0117 branch January 23, 2019 17:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla: yes Contributor has signed the Contributor License Agreement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants