Skip to content

Widget constructors expect children in inconsistent ways #241

@FlutterIssues

Description

@FlutterIssues

Issue by ianloic
Thursday Oct 29, 2015 at 20:28 GMT
Originally opened as https://github.com/flutter/engine/issues/1872


Some widgets (eg: Container) require a name child: argument to specify their children. Others (eg: Flex) take their children as the first argument. This inconsistency is confusing - especially as I switch between different container widgets.

Metadata

Metadata

Assignees

Labels

c: contributor-productivityTeam-specific productivity, code health, technical debt.frameworkflutter/packages/flutter repository. See also f: labels.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions