Getting started with flutter

We have divided this post into 3 parts

  • How to set up Flutter? πŸ› 
  • Why should you learn Flutter? πŸ€”
  • Commonly asked questions about flutter. ⁉

How to set up Flutter?

Flutter is an open-source cross-platform development framework developed by Google. The biggest advantage of developing in flutter is, that it really lessens the development time and increases developer productivity. To get started with flutter you need to follow this step:

  • You need to have git already installed in your system. if you don’t have git installed you can download it from here.
  • First, you need to download the flutter SDK, for that head over to this link and choose your operating system.
  • Then download the flutter SDK.

    How to Get Started with Flutter?πŸš€(Quickly) 1 » Csspoint101

  • Once you have downloaded it, extract the folder to your desired location.

    Refrain from extracting it on desktop or any place where it may get deleted by mistake.

  • Since you have extracted flutter SDK and you will need to access flutter commands over terminal or CMD, you will need to set a path to this folder.
  • Setting up flutter on Windows

    • For windows open control panel, then search for “Environment Variable”How to Get Started with Flutter?πŸš€(Quickly) 2 » Csspoint101
      • Click on the above line
      • Click on “Environment Variables”How to Get Started with Flutter?πŸš€(Quickly) 3 » Csspoint101

      • Select “Path” and click “Edit”

        How to Get Started with Flutter?πŸš€(Quickly) 4 » Csspoint101

      • Copy the folder path where you have extracted and paste it on newHow to Get Started with Flutter?πŸš€(Quickly) 5 » Csspoint101
      • Click “save” and exit.
      • Restart Your PC.
      • Open CMD and type flutter --version to check if you have successfully set flutter in your system.
  • Setting up flutter on Mac and Linux:

    The procedure for setting up flutter is exactly the same for Mac and Linux. You just need to extract the SDK, then set the path for your terminal. I am linking resources for both of the systems. πŸ˜€

    For macOS: click here

    For Linux: click here

    once you have set up flutter in your system it’s time to start your first project.

  • Setting up a code Editor

    • Download Android Studio from here.
    • Install Android studio in a stable internet connection.
    • [OPTIONAL] Download VS code from this link
    • then install Flutter and dart extensions in both.
    • Hurray!! you have done setting up a flutterπŸ˜€
  • Starting a new project
    • Open CMD/Terminal
    • Move to the directory where you want to create projects
    • basic CMD commands:
    cd <Directory name> -> moves into specified directory
    cd .. -> /moves one directory backwards
    mkdir <directory name> -> makes a new directory
    rmdir <directory name> -> removes an empty directory
    rmdir /S <directory name> -> removes all files inside a directory
    • once you have reached the directory, run flutter create <Project Name> this will create a new project

Open this project in your code editor and you are good to go now 😁

Why should you learn Flutter? πŸ€”

Most startups these days are using flutter as the primary language because of the ease of making apps both in iOS and Android, so definitely there is a good market for it. Moreover, If you want to build your own startup then in most cases flutter is one of the best choices out there, it’s easier to learn and you can wrap up your project fairly quickly.

Let’s see if flutter is actually used these days or not.

  • Stackoverflow has seen a rise in questions on flutter to almost 1000% (from 0.20% in 2018 to 2.20% in 2020) in only 2 years so it shows how people are getting involved in this technology.

How to Get Started with Flutter?πŸš€(Quickly) 6 » Csspoint101

  • also flutter is one of the most loved technologies these days, and these stats by StackOverflow tells this

How to Get Started with Flutter?πŸš€(Quickly) 7 » Csspoint101

  • moreover flutter is also one of the most used miscellaneous technology

How to Get Started with Flutter?πŸš€(Quickly) 8 » Csspoint101

These stats show that flutter is being used also.

Commonly Asked Questions about Flutter

  1. Is flutter good for beginners?
  2. Is flutter easy to learn?

    Yes, Flutter is easy to learn if you follow a good instructor and well layout course.

  3. How long does it take to learn flutter?
    • 15-20 hours to learn basics of flutter like making simple UI using basic widgets
    • 20-35 hours to learn learning stuff like complex UI, some functionality, and routing
    • 35-70 hours in learning API calls, database integration, firebase authentication, and firestore
    • 70-100 hours in learning bloc pattern, MVVM pattern, and other intermediate stuff

      so if you can invest like 2-4 hours every day you can be a good flutter developer in 30-50 days of time.

  4. Should I learn dart before flutter?

    We have answered it before but we are answering it again:

  5. Is flutter only for UI?

    No, Flutter is a fully functional SDK that can be used to make beautiful apps and it can handle complex logic too.

    For logic, Flutter developer uses Architecture patterns like Bloc Pattern and MVVM pattern which makes flutter apps really scalable.

  6. Is Flutter a frontend or backend?

    Flutter is used to make the frontend side of the application. However, Dart(Language flutter uses) can be used to make backend applications also.

  7. Can I use Python in flutter?

    No, Flutter uses dart so you can’t use Python.

  8. Is flutter free?

    Yes! Flutter is an Open Source framework developed by Google which means its code is exposed to be used by us. We can even contribute to flutter SDK.

  9. Does Flutter Have a Future?                                                                                                                                                                                                                                                                This question will be answered by stats. πŸ˜‰ So here it goes.                                                         Stackoverflow has seen a rise in questions on flutter to almost 1000% (from 0.20% in 2018 to 2.20% in 2020) in only 2 years so it shows how people are getting involved in this technology.

    How to Get Started with Flutter?πŸš€(Quickly) 9 » Csspoint101

Thanks For Reading this article.