Skip to content

remove "This trailing comma makes auto-formatting nicer for build methods" from flutter create template #175655

Closed

Description

@jacksonrl

Steps to reproduce

See

), // This trailing comma makes auto-formatting nicer for build methods.

floatingActionButton: FloatingActionButton(
        onPressed: _incrementCounter,
        tooltip: 'Increment',
        child: const Icon(Icons.add),
      ), // This trailing comma makes auto-formatting nicer for build methods.

As far as I can tell this is no longer needed since the new formatter is enabled by default, so the comment should probably be removed. Other usages:

https://github.com/search?q=repo%3Aflutter%2Fflutter%20%2F%2F%20This%20trailing%20comma%20makes%20auto-formatting%20nicer%20for%20build%20methods.&type=code

Activity

  1. added
    in triagePresently being triaged by the triage team
    toolAffects the "flutter" command-line tool. See also t: labels.
    team-toolOwned by Flutter Tool team
    c: proposalA detailed proposal for a change to Flutter
    refactorImproving readability/efficiency without behavioral changes
    and removed
    in triagePresently being triaged by the triage team
    on Sep 22, 2025
  2. self-assigned this
    on Sep 23, 2025
  3. added
    P3Issues that are less important to the Flutter project
    triaged-toolTriaged by Flutter Tool team
    on Sep 23, 2025
  4. github-actions commented on Oct 9, 2025

    @github-actions

    This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of flutter doctor -v and a minimal reproduction of the issue.

  5. locked as resolved and limited conversation to collaborators on Oct 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

P3Issues that are less important to the Flutter projectc: proposalA detailed proposal for a change to Flutterr: fixedIssue is closed as already fixed in a newer versionrefactorImproving readability/efficiency without behavioral changesteam-toolOwned by Flutter Tool teamtoolAffects the "flutter" command-line tool. See also t: labels.triaged-toolTriaged by Flutter Tool team

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions