Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

DrawerItem, DrawerHeader should take a child instead of children#767

Merged
abarth merged 1 commit intoflutter:masterfrom
abarth:modernize_drawer_item
Aug 22, 2015
Merged

DrawerItem, DrawerHeader should take a child instead of children#767
abarth merged 1 commit intoflutter:masterfrom
abarth:modernize_drawer_item

Conversation

@abarth
Copy link
Contributor

@abarth abarth commented Aug 22, 2015

These widgets were designed in CSS where you need to specify a layout model for
your children. This patch updates them to the modern style of just taking a
unique child.

Fixes #755

These widgets were designed in CSS where you need to specify a layout model for
your children. This patch updates them to the modern style of just taking a
unique child.

Fixes #755
@abarth
Copy link
Contributor Author

abarth commented Aug 22, 2015

TBR @eseidelGoogle

abarth added a commit that referenced this pull request Aug 22, 2015
DrawerItem, DrawerHeader should take a child instead of children
@abarth abarth merged commit 131a0d6 into flutter:master Aug 22, 2015
@abarth abarth deleted the modernize_drawer_item branch August 22, 2015 15:46
Copy link
Contributor

Choose a reason for hiding this comment

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

wrap these one to a line for consistency with the others. What I've been doing to get the indentation right in these cases is have the three lines after the [ indented by 4 instead of 2.

@Hixie
Copy link
Contributor

Hixie commented Aug 22, 2015

No need for the FlexDirection.horizontal arguments throughout. That's the default.

@Hixie
Copy link
Contributor

Hixie commented Aug 22, 2015

LGTM other than those two issues

@eseidelGoogle
Copy link
Contributor

I've been specifying flex direction at all my callsites just to be
explicit. Also I forget the defaults. Particularly for flex which is so
complicated

On Saturday, August 22, 2015, Ian Hickson [email protected] wrote:

LGTM other than those two issues


Reply to this email directly or view it on GitHub
#767 (comment).

abarth added a commit to abarth/engine that referenced this pull request Aug 22, 2015
Mostly formating and removing arguments with default values.
@abarth
Copy link
Contributor Author

abarth commented Aug 22, 2015

Followup in #769

@Hixie
Copy link
Contributor

Hixie commented Aug 22, 2015

@eseidelGoogle Would it help to have one flex class for horizontal and one for vertical?

abarth added a commit to abarth/engine that referenced this pull request Aug 22, 2015
Mostly formating and removing arguments with default values.
abarth added a commit that referenced this pull request Aug 22, 2015
rhencke pushed a commit to rhencke/engine that referenced this pull request Dec 20, 2020
rhencke pushed a commit to rhencke/engine that referenced this pull request Dec 20, 2020
…iting

Fix formatting of deprecation attributes in schema doc
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.

3 participants