Skip to content

Make long argument lists readable #2620

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

Closed
mleonhard opened this issue Apr 21, 2021 · 2 comments
Closed

Make long argument lists readable #2620

mleonhard opened this issue Apr 21, 2021 · 2 comments

Comments

@mleonhard
Copy link

Flutter MaterialApp contains two constructors with many optional parameters. The parameters appear as a giant blob of text more than two screens wide. It requires HORIZONTAL SCROLLING to see all of the parameters.

This makes searching and reading the docs extremely slow. Also, CTRL-F searching is unusable in Flutter docs.

Let's reformat parameter lists the way Dart itself formats them: one per line.

Screenshots

Taken with Safari 14.0.3.

Screen Shot 2021-04-21 at 01 09 53
Screen Shot 2021-04-21 at 01 10 09

@CaptainIRS
Copy link
Contributor

Related issue: #2408

@mleonhard
Copy link
Author

Closing as duplicate.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants