Skip to content

dart format removes comma and changes formatting style #60122

Closed
@mock1328

Description

E.g. having this enum:

enum SomeEnum {
  Val1,
  Val2,
  Val3,
}

Becomes this after running dart format some_enum.dart:

enum SomeEnum { Val1, Val2, Val3 }

I don't think this was the case before flutter 3.29.0 update

Metadata

Assignees

No one assigned

    Labels

    closed-as-intendedClosed as the reported issue is expected behavior

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions