Is there a way to auto-format flutter with vscode?

With VS Code version 1.53 ( I am sure previous have this too) you don’t need to install any special extension. Just navigate to:

Preferences -> Settings -> Text Editor -> Formatting

make sure “Format on save” is enabled

enter image description here

with every time you hit Ctrl + S your file will be saved as well as code formatted.

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)