Installation
IDE choice
My recommended IDE for Dart is modifying the text editor VSCode with Dart and Flutter extensions:
dart-code.dart-code
dart-code.flutter
alexisvt.flutter-snippets
Installation guide
- Ensure VSCode, the extensions, and git is installed and updated.
- Launch VSCode and open command palette (
crtl+shift+P
) - With the
dart-code.flutter
installed, typingflutter
in command palette shows a command ofFlutter: New Project
. - VSCode will now prompt you to locate your Flutter SDK, select
Download SDK
which automatically installs the Flutter SDK and adds to PATH, Remember to choose a location that doesnt require elevated priviledges. - Now type
flutter doctor
in the terminal and resolve any missing SDK or packages- I would recommend installing android sdk from android studio
- I would also recommend installing Visual Studio if windows development is needed.
- If the developement platform is Windows, the path may not have added correctly, include the android sdk, dart sdk and flutter sdk in path.