VS Code Setup

It's important to tweak some things inside VS Code for our Flutter development.

Font Size (these font sizes are best for coding)

  • Keep the editor font size to 16
  • Keep the terminal font size to 14

Font Family (optional)

  • Install the regular font of Monaspace Neon Frozen
  • Then make sure that the Editor Font Family is set to Monaspace Neon Frozen

Disabling Compact View

  • Go to settings, and uncheck the Compact Folders button

Install these extensions

  • Flutter (main extension for coding in Flutter)
  • Dart (this also gets installed when we install the Flutter extension)
  • Error Lens (this shows the error in the same line where that happens)
  • vscode-icons (distingushed icons for files, folders in VS Code)
  • Flutter Color (to visualize colors while coding in Flutter)
  • Pubspec Assist (to install packages directly inside pubspec.yaml file)
  • Awesome Flutter Snippets (for the snippets of commonly used functions and classes in Flutter)
  • Flutter Riverpod Snippets (Snippets for working with the Riverpod state management in Flutter)