Sitelet https://github.com/flutter/flutter/issues/231
Skip to content

Rename Flex arguments #231

Description

@FlutterIssues

Issue by Hixie
Monday Oct 26, 2015 at 21:11 GMT
Originally opened as https://github.com/flutter/engine/issues/1802


We should rename Flex's alignItems to "crossAxis" and Flex's justifyContent to "mainAxis". FlexAlignItems can become CrossAxisAlign and FlexJustifyContent can become MainAxisAlign.

Or some such. The current names are too unintuitive. Every time I use Row or Column I have to look them back up again.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

c: API breakBackwards-incompatible API changesc: 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