Skip to content
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

Tall style: field formatting #1604

Open
iinozemtsev opened this issue Nov 27, 2024 · 0 comments
Open

Tall style: field formatting #1604

iinozemtsev opened this issue Nov 27, 2024 · 0 comments

Comments

@iinozemtsev
Copy link
Member

iinozemtsev commented Nov 27, 2024

When the field declaration is long, so that the name has to be wrapped, it used to be wrapped with an indent, like this:

class C {
  final LoremIpsumDolorSitAmetFactory
      _loremIpsumDolorSitAmetFactory;
}

Now there's no indent, and it is harder to read, especially when there are many fields like that.

class C {
  final LoremIpsumDolorSitAmetFactory
  _loremIpsumDolorSitAmetFactory;
}

Also when there's a comment between an annotation and a type, field name is put on a new line:

Before:

  @override
  // ignore: hash_and_equals
  final int hashCode;

Now:

  @override
  // ignore: hash_and_equals
  final int
  hashCode;
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

1 participant