Flutter

Flutter

A couple of days ago, I was thinking of learning to flutter because of market requirements. But I find it too easy and fast to develop in comparison to native mobile development, and it supports multi-platforms like Chrome, MacOS, Linux, Windows, Android, and iPhone. Dart programming language is very easy, and as I experience, it’s syntax is mixed between Java and Kolitin. It’s made the development easy and enchanting. In this blog, I am going to explain how to install Flutter and some of its command sothat a new bird can start development.?

  1. How to install Flutter in Mac OS for Android development.?

Android Studio Git must be installed on your Macbook, then download Flutter as per your device processor. We have different installers for the Intel processor and different installers for the Apple Silicon Chip.?

Please check download link?

https://docs.flutter.dev/get-started/install/macos/mobile-android?tab=download

After downloading, run the following command:

unzip ~/Downloads/flutter_macos_arm64_3.22.2-stable.zip \

???????-d ~/development/

?

This will unzip SDK to the development directory of your system root directory, now you have to set the SDK path.?

Open the editor ? and type the following command?

export PATH=$HOME/development/flutter/bin:$PATH

And save it to the root directory of your os, with the name?

.zshenv

Now installation is done.?

2. Command used in flutter development

????

A) Project Creation and Management:


flutter create my_app: Creates a new Flutter project named "my_app".

B) Running the App:


flutter run: Runs the app in debug mode on a connected device or emulator. You can add options like --release to build a release version.

C) Building the App:

flutter build apk: Builds an Android app bundle (recommended over APK).

flutter build ios: Builds an iOS app.

flutter build web: Builds a web app.

D) Package Management:


flutter pub get: Downloads and installs dependencies listed in your pubspec.yaml file.

flutter pub upgrade: Upgrades all dependencies to their latest versions.

E) Analyzing and Testing:


flutter analyze: Analyzes your Dart code for errors and potential issues.

flutter test: Runs automated tests for your app.

F) Other Useful Commands:


flutter doctor: Checks your development environment for any issues.

flutter --help: Shows a list of all available commands with a brief description.

flutter config: Configures various aspects of the Flutter SDK.


Conclution

By reading the blog, any one can start developing a Flutter app , I think you will enjoy the content

Thank you and happy learning.


要查看或添加评论,请登录

Rajendra Verma的更多文章

  • My First AI Model

    My First AI Model

    If you will check the below table, then you will get to know that Y is dependent on X and the relationship is. y = 2x -…

  • Evolution of Neural Network

    Evolution of Neural Network

    This is a very intersecting topic, just like an Netflix webseries. Now a days everyone is talking about AI, but no one…

  • What is Deep Learning?

    What is Deep Learning?

    A subset of machine learning: Deep learning is a branch of machine learning that focuses on using artificial neural…

  • Very Good CLI vs Flutter CLI: A Clear Distinction

    Very Good CLI vs Flutter CLI: A Clear Distinction

    We all know about Flutter cli, that it is known to develop the project and that it works to update and upgrade the…

  • Flutter Internationalization

    Flutter Internationalization

    When you create a mobile app and it hits the international market, you have to internationalize the app which is an…

  • Mixin in dart

    Mixin in dart

    Flutter is becoming the most popular language now for mobile development. When developers write code, they encounter…

  • Types of provider in Flutter

    Types of provider in Flutter

    I was working on one of my Flutter projects, and suddenly I thought that it is a good idea to explain the difference…

  • My Experiment with the Matter Protocol

    My Experiment with the Matter Protocol

    Exploring the Future of IoT: An In-Depth Look at the Matter Protocol As a software engineer specializing in IoT…

  • How to filter array of a positive integer and negative integer in kotlin

    How to filter array of a positive integer and negative integer in kotlin

    Interviews are asking a general question nowadays from Kotlin developers so that I like to give its answer fun main(){…

  • Print numbers with using recursion and without using recursion and loop in java.

    Print numbers with using recursion and without using recursion and loop in java.

    I was taking the interview and the thought comes, let's put a question to the interviewee that you have to print…

社区洞察

其他会员也浏览了