skip to Main Content

I’m not getting how to download flutter SDK through VSCODE DART function.. please tell me if anyone knows the solution.

i download flutter extension in VSCODE and zip file.. now don’t know what to doo… please tell me if you know the solution.

2

Answers


  1. in VSCode, you just need to go to the extensions button, search for ‘Flutter,’ and install the one from ‘Dart Code.’ After that, you’ll be able to create projects by pressing Ctrl + Shift + P and typing ‘Flutter: New Project.’

    Login or Signup to reply.
  2. Step-by-Step to Install Flutter SDK and Set Up in VS Code:

    1. Install the Flutter Extension:
      As shown in my image, go to the Extensions section in VS Code, search for ‘Flutter’, and install the verified Flutter extension.

    How to install extensions in VScode

    1. Download the Flutter SDK:
      You mentioned downloading the zip file for Flutter. If you haven’t, you can download it from the official site Flutter SDK.

    2. Extract the Flutter SDK:

      • After downloading, extract the contents of the zip file to a location on your machine (e.g., C:srcflutter on Windows or /usr/local/flutter on macOS/Linux).
      • Ensure the folder path contains no spaces.
    3. Add Flutter to PATH:
      To use Flutter commands from the terminal:

      • Windows: Add the path to the flutter/bin directory to your environment variables.

        • Go to Control Panel → System and Security → System → Advanced system settings → Environment Variables.
        • Under User variables or System variables, find the Path variable and add the flutter/bin directory path.
      • macOS/Linux: Open your terminal and add Flutter to the PATH in your .bashrc, .zshrc, or .bash_profile file:

        export PATH="$PATH:/path-to-flutter/flutter/bin"
        

        Then, run source ~/.bashrc or source ~/.zshrc.

    4. Check Installation:
      Open a terminal in VS Code and run:

      flutter doctor
      
    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search