Play Around with Dartpad and fall in love with Flutter

Overview

Flutter Workshop - GDSC NIT ROURKELA - Preptember 2021

What we built during the workshop?

For checking out the code sample app

For checking out the code solar system

For checking out the code draw it out

What is Flutter?

Flutter is Google's SDK for crafting beautiful, fast user experiences for mobile, web, and desktop from a single codebase. Flutter works with existing code, is used by developers and organizations around the world, and is free and open source.

How to get started? Installation Guide

1. Download SDK

Download Flutter SDK, extract the "Flutter" folder and put somewhere on your machine

2. Update your path

  • From the Start search bar, enter env and select Edit environment variables for your account.

  • Under User variables check if there is an entry called Path:

    If the entry exists, append the full path to flutter\bin using ; as a separator from existing values.

    If the entry doesn’t exist, create a new user variable named Path with the full path to flutter\bin as its value.

3. Check dependencies

flutter doctor

This command checks your environment and displays a report of the status of your Flutter installation. Check the output carefully for other software you might need to install or further tasks to perform.

Note - Here is the procedure for Windows.

4. Install Android Studio

  • Download and install Android Studio.
  • Start Android Studio, and go through the ‘Android Studio Setup Wizard’. This installs the latest Android SDK, Android SDK Command-line Tools, and Android SDK Build-Tools, which are required by Flutter when developing for Android.
  • Run flutter doctor to confirm that Flutter has located your installation of Android Studio. If Flutter cannot locate it, run flutter config --android-studio-dir <directory> to set the directory that Android Studio is installed to.

5. Set up Android Device

To prepare to run and test your Flutter app on an Android device, you need an Android device running Android 4.1 (API level 16) or higher.

  • Enable Developer options and USB debugging on your device. Detailed instructions are available in the Android documentation.
  • Windows-only: Install the Google USB Driver.
  • Using a USB cable, plug your phone into your computer. If prompted on your device, authorize your computer to access your device.
  • In the terminal, run the flutter devices command to verify that Flutter recognizes your connected Android device. By default, Flutter uses the version of the Android SDK where your adb tool is based. If you want Flutter to use a different installation of the Android SDK, you must set the ANDROID_SDK_ROOT environment variable to that installation directory.

6. Create flutter app

  • Open the Android Studio and select Create New Flutter Project.
  • Select Flutter Application as the project type. Then click Next.
  • Verify the Flutter SDK path specifies the SDK’s location (select Install SDK… if the text field is blank).
  • Enter a project name (for example, myapp). Then click Next.
  • Click Finish. Wait for Android Studio to install the SDK and create the project.

OR

flutter create myapp
cd myapp
flutter devices
flutter run

You have successfuly installed and setup Flutter.

You’ll mostly edit lib/main.dart, where the Dart code lives.

If you want to learn how to build your own app. Head on to this Google Codelab and try it out yourself!

🎉 Happy Fluttering

You might also like...

Breathe is a mental health blogging app where users can join communities of doctors and other users from around the world and both share their problems as well as lend a ear to and help others

Breathe is a mental health blogging app where users can join communities of doctors and other users from around the world and both share their problems as well as lend a ear to and help others

𝐏𝐫𝐨𝐣𝐞𝐜𝐭 𝐁𝐫𝐞𝐚𝐭𝐡𝐞 In a condensed, suffocating society you can feel closed off, when you can't process your emotions and are going through

May 16, 2022

App HTTP Client is a wrapper around the HTTP library Dio to make network requests and error handling simpler, more predictable, and less verbose.

App HTTP Client App HTTP Client is a wrapper around the HTTP library Dio to make network requests and error handling simpler, more predictable, and le

Nov 1, 2022

Easy nav - A simple wrapper around flutter navigator, dialogs and snackbar to do those things without context

EasyNav Just a simple wrapper around flutter navigator, dialogs and snackbar to

Feb 26, 2022

A wrapper around Navigator 2.0 and Router/Pages to make their use a easier.

A wrapper around Navigator 2.0 and Router/Pages to make their use a easier.

APS Navigator - App Pagination System This library is just a wrapper around Navigator 2.0 and Router/Pages API that tries to make their use easier: 🔧

Oct 17, 2022

Mobile App for posting and reporting incidents around your area.

newsecurus A new Flutter project. Getting Started This project is a starting point for a Flutter application. A few resources to get you started if th

Dec 8, 2021

💬An app to chat & discuss on latest movies with your friends & family and people all around the world

💬An app to chat & discuss on latest movies with your friends & family and people all around the world

Movie Chit-Chat An app to chat & discuss on latest movies with your friends & family and people all around the world 💬 Have you ever thought where yo

Dec 9, 2022

A flutter package which will help you to create a draggable widget that can be dragged around the screen.

A flutter package which will help you to create a draggable widget that can be dragged around the screen.

A flutter package which will help you to create a draggable widget that can be dragged around the screen. Demo Features 💚 Manually Control the positi

Aug 10, 2022

Aris keyunique - Use the Flutter Unique Key To Preserve the state of Stateful Widgets if they moved around in the Widget tree

Aris keyunique - Use the Flutter Unique Key To Preserve the state of Stateful Widgets if they moved around in the Widget tree

Flutter Tutorial - Flutter Keys - Unique Key Use the Flutter Unique Key To Prese

Dec 29, 2021

A simple dart zeromq implementation/wrapper around the libzmq C++ library

dartzmq A simple dart zeromq implementation/wrapper around the libzmq C++ library Features Currently supported: Creating sockets (pair, pub, sub, req,

Dec 29, 2022
Owner
Astha Nayak
Astha Nayak
Love-Calculator-Flutter - A Love Calculator Flutter app created for learning basic stuffs in Dart

Love Calculator The same old Love Calculator ,but in flutter NB A simple flutter

Adithya Krishnan 3 Nov 14, 2022
Creating DartPad Snippets Made Easy

Dartpad Generator Built with ❤️ at DotSlash Hackathon Creating Dartpad Snippets Made Easy ?? Team Teen Tigada Kaam Bigada Theme Developer Tool Problem

Tirth 60 Nov 15, 2021
Google play scraper for flutter and dart created form

Google Play Store Scraper Dart and Flutter Google Play Store Scraper for flutter and dart helps you to get apks information from google play store. Im

Sifat 3 Sep 14, 2022
Hangman and yet another gaming App(i love games and making it XD)

and yet another gaming App(i love games and making it XD) , i completed the ui and almost all the functionality , i will add some storing data using firebase later, anyways please give a try and enjoy it , i will try in the future to use flame engine to make a 3d cool app or even 2d, any feedback will be apperciated since im still halfway to be a proffesional

FarZ 15 Dec 29, 2022
It's OK to love Flutter and hate hand-coding design elements. Parabeac-Core converts design files into Flutter code.

Parabeac-Core Parabeac-Core converts design files into Flutter code driven by open-source & community. Contribute · Discord Community · Designer Proto

Parabeac 536 Jan 4, 2023
Demo application for hotel booking app made with @flutter and love.

Hotel Booking App Generated by the Very Good CLI ?? A Very Good Project created by Very Good CLI. Getting Started ?? This project contains 3 flavors:

Enzo Lizama Paredes 150 Oct 12, 2022
Tribally SDKs enable your users to create communities and bring in more people to talk about the things they love.

tribally Tribally SDKs enable your users to create communities and bring in more people to talk about the things they love. Getting Started This proje

Horum 0 Dec 28, 2021
DostiPak - Dating app to make connection between people and start new love story to lovers

Dosti Pak Dating app to make connection between people and start new love story

ABDULKARIM ALBAIK 6 Oct 2, 2022
A wrapper around our Cocoa and Java client library SDKs, providing iOS and Android support for those using Flutter and Dart.

Ably Flutter Plugin A Flutter plugin wrapping the ably-cocoa (iOS) and ably-java (Android) client library SDKs for Ably, the platform that powers sync

Ably Realtime - our client library SDKs and libraries 46 Dec 13, 2022