Skip to content

Use a named argument for Widget children - #1189

Merged
abarth merged 1 commit into
flutter:masterfrom
abarth:named_children
Jan 11, 2016
Merged

abarth merged 1 commit into
flutter:masterfrom
abarth:named_children

Conversation

@abarth

@abarth abarth commented Jan 11, 2016

Copy link
Copy Markdown
Contributor

Previously we used a positional argument for widgets that had multiple
children. Now we use a named argument that defaults to an empty list.

Fixes #241

Previously we used a positional argument for widgets that had multiple
children. Now we use a named argument that defaults to an empty list.

Fixes flutter#241
@Hixie

Hixie commented Jan 11, 2016

Copy link
Copy Markdown
Contributor

This will definitely require a mail to the dev list. :-)

@Hixie

Hixie commented Jan 11, 2016

Copy link
Copy Markdown
Contributor

LGTM

@abarth

abarth commented Jan 11, 2016

Copy link
Copy Markdown
Contributor Author

Yeah.

abarth added a commit that referenced this pull request Jan 11, 2016
Use a named argument for Widget children
@abarth
abarth merged commit 41b8c98 into flutter:master Jan 11, 2016
@abarth
abarth deleted the named_children branch January 11, 2016 21:25
@github-actions github-actions Bot locked as resolved and limited conversation to collaborators Aug 17, 2021
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.

Widget constructors expect children in inconsistent ways

2 participants