Skip to content

Format generated code with dart_style:dartformat #480

@kevmoo

Description

@kevmoo
  1. pub global activate dart_style
  2. pub global run dart_style:format -w [path_to_dart_code]

If you've activated dart_style and added the right path to your environment, you can run dart_formatter directly.

But if you were scripting this in gulp, pub global run dart_style:format is the way to go

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions