SlideShare a Scribd company logo
Flutter 101
Pillai College of Engineering
Agenda
● Native Development
● Overview of Flutter
● Setting up Flutter
● Basics of Dart
● Understanding widgets
● Building your first Flutter app
● Hands-On
What is Native Development ?
Just a complex way to “platform specific”
Creating software applications specifically for a particular
platform or device using the native programming languages and
tools supported by that platform. This typically involves
developing applications for specific operating systems such as
iOS, Android,Windows, or macOS.
Now,
Native apps are more performance oriented, because they are written using programming
languages, that are native to these specific platforms.
So, what is flutter then ?
Flutter is not used for native development, rather for “Cross-Platform development”.
Basically you can see flutter as language translator, that converts the code written in dart into
native code to run on any native machine.
Let’s see
Flutter is an open source framework by Google for building beautiful, natively
compiled, multi-platform applications from a single codebase. It is powered by
Dart, a language optimized for fast apps on any platform.
Didn’t Ijust say native development gives good
performance ? So…. ??
Why Flutter ?
● Cross-Platform Development
● Hot Reload
● Expressive and Beautiful UI
● High Performance
● Rich Widget Library
● Cost-Effective
● Backed by Google
Let’s talk business ?
Now, you know basically what is flutter is short
and what is native development.
So, consider a situation, you are developing an
business, which needs an app and you want to
build it for both Android and iOS. Which will you
prefer and why ?
1. Native Development
2. Flutter (Cross Platform Development)
Where is it used ?
Any other alternatives ?
Language Dart JavaScript JavaScript
Performance
High performance, compiles to
native code
Good performance, bridges to
native APIs
Web-based, relies on WebView
UI Components
Customizable widgets, Material &
Cupertino
React components, third-party
libraries
Web components, Ionic UI library
Development Time Hot reload for rapid development
Fast development with hot
reloading
Fast development with live
reload
Community
Growing community, backed by
Google
Large community, backed by
Facebook
Established community,
open-source
Learning Curve Moderate, Dart language Moderate, JavaScript, React Easy, HTML, CSS, JavaScript
Native Features
Access to native features and
APIs
Access to native features and
APIs
Limited access, relies on plugins
Platform Support iOS, Android, Web, Desktop iOS, Android, Web iOS, Android, Web
Which is good ?
OBVIOUSLY,
FLUTTER !
Me
Installation
1.Download Flutter
Visit the Flutter SDK releases page to download the latest
stable version of Flutter
.
2. Extract the Zip
Extract the downloaded Flutter archive to a location on your
machine.
3.Add Flutter to Path
On Windows: %PATH_TO_FLUTTER%flutterbin On macOS
and Linux: export PATH="$PATH:/path/to/flutter/bin"
What is Flutter CLI ?
The Flutter command-line interface (CLI) is a set of tools provided by the Flutter framework to help
developers with various aspects of Flutter app development. The Flutter CLI allows developers to create, build,
test, and manage Flutter projects from the command line.
Flutter is a Framework, not a language
Flutter is a UIframework for building cross-platform applications, not a programming language itself.
Then ? What flutter apps are written in ?
It utilizes Dart, a language developed by Google, to write code. Dart's simplicity and efficiency power Flutter's
expressive widgets, enabling developers to create stunning mobile, web, and desktop experiences with ease.
Dart is a programming language developed by Google. It is designed for building web, mobile,
and server applications. Dart aims to provide a productive and flexible development experience,
emphasizing performance, simplicity, and a strong object-oriented foundation
Let’s Explore Dart
Overview
● Designed for Web and Mobile Development
● Dart SDK and DartPad
● Used for Server-Side Development Versatility
Data Types in Dart
Classes and Objects
● Classes are blueprints for creating objects.
● They define the properties and behaviors that objects of that type will have
Control Flow
● Control flow statements help in controlling the flow of execution in a Dart program.
● They include conditional statements and looping constructs.
Functions in Dart
● Functions are blocks of code that perform a specific task.
● They promote code reusability and organization in Dart programs.
Okay, so that’s how you write code, but what about visuals ?
Widgets
What are widgets ?
● Widgets are the building blocks of Flutter applications.
● Everything in Flutter is a widget, including layout elements, text,
buttons, and more.
● Widgets describe how the UI should look given its current
configuration and state.
Example of a Widget
Similar to this, Flutter supports a wide range of Widgets that
usually come out of the box under the “material.dart” package
and etc, also enables to add custom widgets to your project by
importing custom libraries.
https://docs.flutter.dev/ui/widgets
Widgets are in place.
Now, how are these widgets rendered ? How flutter knows where to render what ? How communication works between
these widgets ?
Flutter uses something called a Widget Tree, similar to a DOM Structure in Web.
● Flutter uses a hierarchical structure called the widget
tree.
● Each widget has a parent-child relationship, forming a
tree-like structure.
● The root of the widget tree is usually the MaterialApp
or CupertinoApp widget.
There are two types:
1. Stateless Widgets
A StatelessWidget is a widget that doesn't depend on any mutable state. Once created, its properties
cannot change. It's used for UI elements that don't change over time or in response to user
interactions.
2. Stateful Widgets
A StatefulWidget is a widget that can change over time or in response to user interactions. It has
associated state objects that manage the widget's state.
That’s it ?
Of Course not, these were just the tip of a whole iceberg guys, just to get you guys started into Flutter
Development.
Now, Ihope you have your basics clear, we will move on with the hands-on, so you can learn on the
way by developing a flutter app simultaneously.
Let’s Build ?
What we making ?
BMI
Calculator
Ad

More Related Content

Similar to Flutter alegria event gdsc pillai college of engineering (20)

Flutter study jam 2019
Flutter study jam 2019Flutter study jam 2019
Flutter study jam 2019
Ahmed Abu Eldahab
 
Flutter Introduction and Architecture
Flutter Introduction and ArchitectureFlutter Introduction and Architecture
Flutter Introduction and Architecture
Jenish MS
 
Technologies Used in Flutter App Development.pdf
Technologies Used in Flutter App Development.pdfTechnologies Used in Flutter App Development.pdf
Technologies Used in Flutter App Development.pdf
Nishaadequateinfosof
 
Flutter App Development Building Cross-Platform Apps.pdf
Flutter App Development Building Cross-Platform Apps.pdfFlutter App Development Building Cross-Platform Apps.pdf
Flutter App Development Building Cross-Platform Apps.pdf
Shiv Technolabs Pvt. Ltd.
 
DSC IIITL Flutter Workshop
DSC IIITL Flutter WorkshopDSC IIITL Flutter Workshop
DSC IIITL Flutter Workshop
DSCIIITLucknow
 
Mobile Application Development class 001
Mobile Application Development class 001Mobile Application Development class 001
Mobile Application Development class 001
Dr. Mazin Mohamed alkathiri
 
Performance, UI, and More: Flutter vs React Native Compared
Performance, UI, and More: Flutter vs React Native ComparedPerformance, UI, and More: Flutter vs React Native Compared
Performance, UI, and More: Flutter vs React Native Compared
Tien Nguyen
 
Flutter App Development- Why Should You Choose It .
Flutter App Development- Why Should You Choose It .Flutter App Development- Why Should You Choose It .
Flutter App Development- Why Should You Choose It .
Techugo
 
A Complete Guide to Building Your First App with Flutter
A Complete Guide to Building Your First App with FlutterA Complete Guide to Building Your First App with Flutter
A Complete Guide to Building Your First App with Flutter
beppamgadu
 
Top Reasons to Choose Flutter App Development Company.pdf
Top Reasons to Choose Flutter App Development Company.pdfTop Reasons to Choose Flutter App Development Company.pdf
Top Reasons to Choose Flutter App Development Company.pdf
Techugo
 
Flutter Leap of Faith
Flutter Leap of FaithFlutter Leap of Faith
Flutter Leap of Faith
Damith Warnakulasuriya
 
React Native VS Flutter - Which One is The Best.
React Native VS Flutter - Which One is The Best.React Native VS Flutter - Which One is The Best.
React Native VS Flutter - Which One is The Best.
Techugo
 
flutter intro.pptx
flutter intro.pptxflutter intro.pptx
flutter intro.pptx
HajerZitouni3
 
GoogleDSC_ GHRCE_ flutter_firebase.pptx
GoogleDSC_ GHRCE_  flutter_firebase.pptxGoogleDSC_ GHRCE_  flutter_firebase.pptx
GoogleDSC_ GHRCE_ flutter_firebase.pptx
GoogleDeveloperStude22
 
Android Development using Flutter: From fundamentals to advanced
Android Development using Flutter: From fundamentals to advancedAndroid Development using Flutter: From fundamentals to advanced
Android Development using Flutter: From fundamentals to advanced
Lakshay14663
 
Top Benefits of Flutter App Development Services - An Insightful Blog
Top Benefits of Flutter App Development Services - An Insightful BlogTop Benefits of Flutter App Development Services - An Insightful Blog
Top Benefits of Flutter App Development Services - An Insightful Blog
Shiv Technolabs Pvt. Ltd.
 
Technologies Used by Adequate Infsoft for Mobile App Development.pdf
Technologies Used by Adequate Infsoft for Mobile App Development.pdfTechnologies Used by Adequate Infsoft for Mobile App Development.pdf
Technologies Used by Adequate Infsoft for Mobile App Development.pdf
Nishaadequateinfosof
 
Exploring-the-World-of-Flutter-Development.pptx
Exploring-the-World-of-Flutter-Development.pptxExploring-the-World-of-Flutter-Development.pptx
Exploring-the-World-of-Flutter-Development.pptx
lancesterling21
 
flutter-general-report.docx
flutter-general-report.docxflutter-general-report.docx
flutter-general-report.docx
KuntalSasmal1
 
Flutter vs react native – from developer point
Flutter vs react native – from developer pointFlutter vs react native – from developer point
Flutter vs react native – from developer point
BOSC Tech Labs
 
Flutter Introduction and Architecture
Flutter Introduction and ArchitectureFlutter Introduction and Architecture
Flutter Introduction and Architecture
Jenish MS
 
Technologies Used in Flutter App Development.pdf
Technologies Used in Flutter App Development.pdfTechnologies Used in Flutter App Development.pdf
Technologies Used in Flutter App Development.pdf
Nishaadequateinfosof
 
Flutter App Development Building Cross-Platform Apps.pdf
Flutter App Development Building Cross-Platform Apps.pdfFlutter App Development Building Cross-Platform Apps.pdf
Flutter App Development Building Cross-Platform Apps.pdf
Shiv Technolabs Pvt. Ltd.
 
DSC IIITL Flutter Workshop
DSC IIITL Flutter WorkshopDSC IIITL Flutter Workshop
DSC IIITL Flutter Workshop
DSCIIITLucknow
 
Performance, UI, and More: Flutter vs React Native Compared
Performance, UI, and More: Flutter vs React Native ComparedPerformance, UI, and More: Flutter vs React Native Compared
Performance, UI, and More: Flutter vs React Native Compared
Tien Nguyen
 
Flutter App Development- Why Should You Choose It .
Flutter App Development- Why Should You Choose It .Flutter App Development- Why Should You Choose It .
Flutter App Development- Why Should You Choose It .
Techugo
 
A Complete Guide to Building Your First App with Flutter
A Complete Guide to Building Your First App with FlutterA Complete Guide to Building Your First App with Flutter
A Complete Guide to Building Your First App with Flutter
beppamgadu
 
Top Reasons to Choose Flutter App Development Company.pdf
Top Reasons to Choose Flutter App Development Company.pdfTop Reasons to Choose Flutter App Development Company.pdf
Top Reasons to Choose Flutter App Development Company.pdf
Techugo
 
React Native VS Flutter - Which One is The Best.
React Native VS Flutter - Which One is The Best.React Native VS Flutter - Which One is The Best.
React Native VS Flutter - Which One is The Best.
Techugo
 
GoogleDSC_ GHRCE_ flutter_firebase.pptx
GoogleDSC_ GHRCE_  flutter_firebase.pptxGoogleDSC_ GHRCE_  flutter_firebase.pptx
GoogleDSC_ GHRCE_ flutter_firebase.pptx
GoogleDeveloperStude22
 
Android Development using Flutter: From fundamentals to advanced
Android Development using Flutter: From fundamentals to advancedAndroid Development using Flutter: From fundamentals to advanced
Android Development using Flutter: From fundamentals to advanced
Lakshay14663
 
Top Benefits of Flutter App Development Services - An Insightful Blog
Top Benefits of Flutter App Development Services - An Insightful BlogTop Benefits of Flutter App Development Services - An Insightful Blog
Top Benefits of Flutter App Development Services - An Insightful Blog
Shiv Technolabs Pvt. Ltd.
 
Technologies Used by Adequate Infsoft for Mobile App Development.pdf
Technologies Used by Adequate Infsoft for Mobile App Development.pdfTechnologies Used by Adequate Infsoft for Mobile App Development.pdf
Technologies Used by Adequate Infsoft for Mobile App Development.pdf
Nishaadequateinfosof
 
Exploring-the-World-of-Flutter-Development.pptx
Exploring-the-World-of-Flutter-Development.pptxExploring-the-World-of-Flutter-Development.pptx
Exploring-the-World-of-Flutter-Development.pptx
lancesterling21
 
flutter-general-report.docx
flutter-general-report.docxflutter-general-report.docx
flutter-general-report.docx
KuntalSasmal1
 
Flutter vs react native – from developer point
Flutter vs react native – from developer pointFlutter vs react native – from developer point
Flutter vs react native – from developer point
BOSC Tech Labs
 

More from AnandMenon54 (10)

GDSC DSA WorkShop GDSC Pillai College of Engineering
GDSC DSA WorkShop GDSC Pillai College of EngineeringGDSC DSA WorkShop GDSC Pillai College of Engineering
GDSC DSA WorkShop GDSC Pillai College of Engineering
AnandMenon54
 
Road to GDSC Lead interview process guide pce
Road to GDSC Lead interview process guide pceRoad to GDSC Lead interview process guide pce
Road to GDSC Lead interview process guide pce
AnandMenon54
 
GDSC solution challenge Android ppt.pptx
GDSC solution challenge Android ppt.pptxGDSC solution challenge Android ppt.pptx
GDSC solution challenge Android ppt.pptx
AnandMenon54
 
Tensorflow a brief introduction 2nd Sess.pptx
Tensorflow a brief introduction 2nd Sess.pptxTensorflow a brief introduction 2nd Sess.pptx
Tensorflow a brief introduction 2nd Sess.pptx
AnandMenon54
 
Tensorflow a brief introduction (1).pptx
Tensorflow a brief introduction (1).pptxTensorflow a brief introduction (1).pptx
Tensorflow a brief introduction (1).pptx
AnandMenon54
 
Hacktoberfest GDSC Pillai College of Engineering
Hacktoberfest GDSC Pillai College of EngineeringHacktoberfest GDSC Pillai College of Engineering
Hacktoberfest GDSC Pillai College of Engineering
AnandMenon54
 
Solution Challenge '24 GDSC Pillai College of Engineering
Solution Challenge '24 GDSC Pillai College of EngineeringSolution Challenge '24 GDSC Pillai College of Engineering
Solution Challenge '24 GDSC Pillai College of Engineering
AnandMenon54
 
hacktober Collaboration.pptx
hacktober Collaboration.pptxhacktober Collaboration.pptx
hacktober Collaboration.pptx
AnandMenon54
 
GDSC PCE Hacktoberfest 1.pptx
GDSC PCE Hacktoberfest 1.pptxGDSC PCE Hacktoberfest 1.pptx
GDSC PCE Hacktoberfest 1.pptx
AnandMenon54
 
GDSC Info Session 23-24.pptx
GDSC Info Session 23-24.pptxGDSC Info Session 23-24.pptx
GDSC Info Session 23-24.pptx
AnandMenon54
 
GDSC DSA WorkShop GDSC Pillai College of Engineering
GDSC DSA WorkShop GDSC Pillai College of EngineeringGDSC DSA WorkShop GDSC Pillai College of Engineering
GDSC DSA WorkShop GDSC Pillai College of Engineering
AnandMenon54
 
Road to GDSC Lead interview process guide pce
Road to GDSC Lead interview process guide pceRoad to GDSC Lead interview process guide pce
Road to GDSC Lead interview process guide pce
AnandMenon54
 
GDSC solution challenge Android ppt.pptx
GDSC solution challenge Android ppt.pptxGDSC solution challenge Android ppt.pptx
GDSC solution challenge Android ppt.pptx
AnandMenon54
 
Tensorflow a brief introduction 2nd Sess.pptx
Tensorflow a brief introduction 2nd Sess.pptxTensorflow a brief introduction 2nd Sess.pptx
Tensorflow a brief introduction 2nd Sess.pptx
AnandMenon54
 
Tensorflow a brief introduction (1).pptx
Tensorflow a brief introduction (1).pptxTensorflow a brief introduction (1).pptx
Tensorflow a brief introduction (1).pptx
AnandMenon54
 
Hacktoberfest GDSC Pillai College of Engineering
Hacktoberfest GDSC Pillai College of EngineeringHacktoberfest GDSC Pillai College of Engineering
Hacktoberfest GDSC Pillai College of Engineering
AnandMenon54
 
Solution Challenge '24 GDSC Pillai College of Engineering
Solution Challenge '24 GDSC Pillai College of EngineeringSolution Challenge '24 GDSC Pillai College of Engineering
Solution Challenge '24 GDSC Pillai College of Engineering
AnandMenon54
 
hacktober Collaboration.pptx
hacktober Collaboration.pptxhacktober Collaboration.pptx
hacktober Collaboration.pptx
AnandMenon54
 
GDSC PCE Hacktoberfest 1.pptx
GDSC PCE Hacktoberfest 1.pptxGDSC PCE Hacktoberfest 1.pptx
GDSC PCE Hacktoberfest 1.pptx
AnandMenon54
 
GDSC Info Session 23-24.pptx
GDSC Info Session 23-24.pptxGDSC Info Session 23-24.pptx
GDSC Info Session 23-24.pptx
AnandMenon54
 
Ad

Recently uploaded (20)

How to Set warnings for invoicing specific customers in odoo
How to Set warnings for invoicing specific customers in odooHow to Set warnings for invoicing specific customers in odoo
How to Set warnings for invoicing specific customers in odoo
Celine George
 
Quality Contril Analysis of Containers.pdf
Quality Contril Analysis of Containers.pdfQuality Contril Analysis of Containers.pdf
Quality Contril Analysis of Containers.pdf
Dr. Bindiya Chauhan
 
Biophysics Chapter 3 Methods of Studying Macromolecules.pdf
Biophysics Chapter 3 Methods of Studying Macromolecules.pdfBiophysics Chapter 3 Methods of Studying Macromolecules.pdf
Biophysics Chapter 3 Methods of Studying Macromolecules.pdf
PKLI-Institute of Nursing and Allied Health Sciences Lahore , Pakistan.
 
New Microsoft PowerPoint Presentation.pptx
New Microsoft PowerPoint Presentation.pptxNew Microsoft PowerPoint Presentation.pptx
New Microsoft PowerPoint Presentation.pptx
milanasargsyan5
 
How to Manage Opening & Closing Controls in Odoo 17 POS
How to Manage Opening & Closing Controls in Odoo 17 POSHow to Manage Opening & Closing Controls in Odoo 17 POS
How to Manage Opening & Closing Controls in Odoo 17 POS
Celine George
 
Understanding P–N Junction Semiconductors: A Beginner’s Guide
Understanding P–N Junction Semiconductors: A Beginner’s GuideUnderstanding P–N Junction Semiconductors: A Beginner’s Guide
Understanding P–N Junction Semiconductors: A Beginner’s Guide
GS Virdi
 
Unit 6_Introduction_Phishing_Password Cracking.pdf
Unit 6_Introduction_Phishing_Password Cracking.pdfUnit 6_Introduction_Phishing_Password Cracking.pdf
Unit 6_Introduction_Phishing_Password Cracking.pdf
KanchanPatil34
 
One Hot encoding a revolution in Machine learning
One Hot encoding a revolution in Machine learningOne Hot encoding a revolution in Machine learning
One Hot encoding a revolution in Machine learning
momer9505
 
pulse ppt.pptx Types of pulse , characteristics of pulse , Alteration of pulse
pulse  ppt.pptx Types of pulse , characteristics of pulse , Alteration of pulsepulse  ppt.pptx Types of pulse , characteristics of pulse , Alteration of pulse
pulse ppt.pptx Types of pulse , characteristics of pulse , Alteration of pulse
sushreesangita003
 
YSPH VMOC Special Report - Measles Outbreak Southwest US 4-30-2025.pptx
YSPH VMOC Special Report - Measles Outbreak  Southwest US 4-30-2025.pptxYSPH VMOC Special Report - Measles Outbreak  Southwest US 4-30-2025.pptx
YSPH VMOC Special Report - Measles Outbreak Southwest US 4-30-2025.pptx
Yale School of Public Health - The Virtual Medical Operations Center (VMOC)
 
Ultimate VMware 2V0-11.25 Exam Dumps for Exam Success
Ultimate VMware 2V0-11.25 Exam Dumps for Exam SuccessUltimate VMware 2V0-11.25 Exam Dumps for Exam Success
Ultimate VMware 2V0-11.25 Exam Dumps for Exam Success
Mark Soia
 
YSPH VMOC Special Report - Measles Outbreak Southwest US 5-3-2025.pptx
YSPH VMOC Special Report - Measles Outbreak  Southwest US 5-3-2025.pptxYSPH VMOC Special Report - Measles Outbreak  Southwest US 5-3-2025.pptx
YSPH VMOC Special Report - Measles Outbreak Southwest US 5-3-2025.pptx
Yale School of Public Health - The Virtual Medical Operations Center (VMOC)
 
Social Problem-Unemployment .pptx notes for Physiotherapy Students
Social Problem-Unemployment .pptx notes for Physiotherapy StudentsSocial Problem-Unemployment .pptx notes for Physiotherapy Students
Social Problem-Unemployment .pptx notes for Physiotherapy Students
DrNidhiAgarwal
 
Marie Boran Special Collections Librarian Hardiman Library, University of Gal...
Marie Boran Special Collections Librarian Hardiman Library, University of Gal...Marie Boran Special Collections Librarian Hardiman Library, University of Gal...
Marie Boran Special Collections Librarian Hardiman Library, University of Gal...
Library Association of Ireland
 
Geography Sem II Unit 1C Correlation of Geography with other school subjects
Geography Sem II Unit 1C Correlation of Geography with other school subjectsGeography Sem II Unit 1C Correlation of Geography with other school subjects
Geography Sem II Unit 1C Correlation of Geography with other school subjects
ProfDrShaikhImran
 
CBSE - Grade 8 - Science - Chemistry - Metals and Non Metals - Worksheet
CBSE - Grade 8 - Science - Chemistry - Metals and Non Metals - WorksheetCBSE - Grade 8 - Science - Chemistry - Metals and Non Metals - Worksheet
CBSE - Grade 8 - Science - Chemistry - Metals and Non Metals - Worksheet
Sritoma Majumder
 
Presentation on Tourism Product Development By Md Shaifullar Rabbi
Presentation on Tourism Product Development By Md Shaifullar RabbiPresentation on Tourism Product Development By Md Shaifullar Rabbi
Presentation on Tourism Product Development By Md Shaifullar Rabbi
Md Shaifullar Rabbi
 
Operations Management (Dr. Abdulfatah Salem).pdf
Operations Management (Dr. Abdulfatah Salem).pdfOperations Management (Dr. Abdulfatah Salem).pdf
Operations Management (Dr. Abdulfatah Salem).pdf
Arab Academy for Science, Technology and Maritime Transport
 
2541William_McCollough_DigitalDetox.docx
2541William_McCollough_DigitalDetox.docx2541William_McCollough_DigitalDetox.docx
2541William_McCollough_DigitalDetox.docx
contactwilliamm2546
 
Metamorphosis: Life's Transformative Journey
Metamorphosis: Life's Transformative JourneyMetamorphosis: Life's Transformative Journey
Metamorphosis: Life's Transformative Journey
Arshad Shaikh
 
How to Set warnings for invoicing specific customers in odoo
How to Set warnings for invoicing specific customers in odooHow to Set warnings for invoicing specific customers in odoo
How to Set warnings for invoicing specific customers in odoo
Celine George
 
Quality Contril Analysis of Containers.pdf
Quality Contril Analysis of Containers.pdfQuality Contril Analysis of Containers.pdf
Quality Contril Analysis of Containers.pdf
Dr. Bindiya Chauhan
 
New Microsoft PowerPoint Presentation.pptx
New Microsoft PowerPoint Presentation.pptxNew Microsoft PowerPoint Presentation.pptx
New Microsoft PowerPoint Presentation.pptx
milanasargsyan5
 
How to Manage Opening & Closing Controls in Odoo 17 POS
How to Manage Opening & Closing Controls in Odoo 17 POSHow to Manage Opening & Closing Controls in Odoo 17 POS
How to Manage Opening & Closing Controls in Odoo 17 POS
Celine George
 
Understanding P–N Junction Semiconductors: A Beginner’s Guide
Understanding P–N Junction Semiconductors: A Beginner’s GuideUnderstanding P–N Junction Semiconductors: A Beginner’s Guide
Understanding P–N Junction Semiconductors: A Beginner’s Guide
GS Virdi
 
Unit 6_Introduction_Phishing_Password Cracking.pdf
Unit 6_Introduction_Phishing_Password Cracking.pdfUnit 6_Introduction_Phishing_Password Cracking.pdf
Unit 6_Introduction_Phishing_Password Cracking.pdf
KanchanPatil34
 
One Hot encoding a revolution in Machine learning
One Hot encoding a revolution in Machine learningOne Hot encoding a revolution in Machine learning
One Hot encoding a revolution in Machine learning
momer9505
 
pulse ppt.pptx Types of pulse , characteristics of pulse , Alteration of pulse
pulse  ppt.pptx Types of pulse , characteristics of pulse , Alteration of pulsepulse  ppt.pptx Types of pulse , characteristics of pulse , Alteration of pulse
pulse ppt.pptx Types of pulse , characteristics of pulse , Alteration of pulse
sushreesangita003
 
Ultimate VMware 2V0-11.25 Exam Dumps for Exam Success
Ultimate VMware 2V0-11.25 Exam Dumps for Exam SuccessUltimate VMware 2V0-11.25 Exam Dumps for Exam Success
Ultimate VMware 2V0-11.25 Exam Dumps for Exam Success
Mark Soia
 
Social Problem-Unemployment .pptx notes for Physiotherapy Students
Social Problem-Unemployment .pptx notes for Physiotherapy StudentsSocial Problem-Unemployment .pptx notes for Physiotherapy Students
Social Problem-Unemployment .pptx notes for Physiotherapy Students
DrNidhiAgarwal
 
Marie Boran Special Collections Librarian Hardiman Library, University of Gal...
Marie Boran Special Collections Librarian Hardiman Library, University of Gal...Marie Boran Special Collections Librarian Hardiman Library, University of Gal...
Marie Boran Special Collections Librarian Hardiman Library, University of Gal...
Library Association of Ireland
 
Geography Sem II Unit 1C Correlation of Geography with other school subjects
Geography Sem II Unit 1C Correlation of Geography with other school subjectsGeography Sem II Unit 1C Correlation of Geography with other school subjects
Geography Sem II Unit 1C Correlation of Geography with other school subjects
ProfDrShaikhImran
 
CBSE - Grade 8 - Science - Chemistry - Metals and Non Metals - Worksheet
CBSE - Grade 8 - Science - Chemistry - Metals and Non Metals - WorksheetCBSE - Grade 8 - Science - Chemistry - Metals and Non Metals - Worksheet
CBSE - Grade 8 - Science - Chemistry - Metals and Non Metals - Worksheet
Sritoma Majumder
 
Presentation on Tourism Product Development By Md Shaifullar Rabbi
Presentation on Tourism Product Development By Md Shaifullar RabbiPresentation on Tourism Product Development By Md Shaifullar Rabbi
Presentation on Tourism Product Development By Md Shaifullar Rabbi
Md Shaifullar Rabbi
 
2541William_McCollough_DigitalDetox.docx
2541William_McCollough_DigitalDetox.docx2541William_McCollough_DigitalDetox.docx
2541William_McCollough_DigitalDetox.docx
contactwilliamm2546
 
Metamorphosis: Life's Transformative Journey
Metamorphosis: Life's Transformative JourneyMetamorphosis: Life's Transformative Journey
Metamorphosis: Life's Transformative Journey
Arshad Shaikh
 
Ad

Flutter alegria event gdsc pillai college of engineering

  • 1. Flutter 101 Pillai College of Engineering
  • 2. Agenda ● Native Development ● Overview of Flutter ● Setting up Flutter ● Basics of Dart ● Understanding widgets ● Building your first Flutter app ● Hands-On
  • 3. What is Native Development ? Just a complex way to “platform specific” Creating software applications specifically for a particular platform or device using the native programming languages and tools supported by that platform. This typically involves developing applications for specific operating systems such as iOS, Android,Windows, or macOS.
  • 4. Now, Native apps are more performance oriented, because they are written using programming languages, that are native to these specific platforms. So, what is flutter then ? Flutter is not used for native development, rather for “Cross-Platform development”. Basically you can see flutter as language translator, that converts the code written in dart into native code to run on any native machine.
  • 5. Let’s see Flutter is an open source framework by Google for building beautiful, natively compiled, multi-platform applications from a single codebase. It is powered by Dart, a language optimized for fast apps on any platform.
  • 6. Didn’t Ijust say native development gives good performance ? So…. ??
  • 7. Why Flutter ? ● Cross-Platform Development ● Hot Reload ● Expressive and Beautiful UI ● High Performance ● Rich Widget Library ● Cost-Effective ● Backed by Google
  • 8. Let’s talk business ? Now, you know basically what is flutter is short and what is native development. So, consider a situation, you are developing an business, which needs an app and you want to build it for both Android and iOS. Which will you prefer and why ? 1. Native Development 2. Flutter (Cross Platform Development)
  • 9. Where is it used ?
  • 11. Language Dart JavaScript JavaScript Performance High performance, compiles to native code Good performance, bridges to native APIs Web-based, relies on WebView UI Components Customizable widgets, Material & Cupertino React components, third-party libraries Web components, Ionic UI library Development Time Hot reload for rapid development Fast development with hot reloading Fast development with live reload Community Growing community, backed by Google Large community, backed by Facebook Established community, open-source Learning Curve Moderate, Dart language Moderate, JavaScript, React Easy, HTML, CSS, JavaScript Native Features Access to native features and APIs Access to native features and APIs Limited access, relies on plugins Platform Support iOS, Android, Web, Desktop iOS, Android, Web iOS, Android, Web
  • 12. Which is good ? OBVIOUSLY, FLUTTER ! Me
  • 13. Installation 1.Download Flutter Visit the Flutter SDK releases page to download the latest stable version of Flutter . 2. Extract the Zip Extract the downloaded Flutter archive to a location on your machine. 3.Add Flutter to Path On Windows: %PATH_TO_FLUTTER%flutterbin On macOS and Linux: export PATH="$PATH:/path/to/flutter/bin"
  • 14. What is Flutter CLI ? The Flutter command-line interface (CLI) is a set of tools provided by the Flutter framework to help developers with various aspects of Flutter app development. The Flutter CLI allows developers to create, build, test, and manage Flutter projects from the command line.
  • 15. Flutter is a Framework, not a language Flutter is a UIframework for building cross-platform applications, not a programming language itself. Then ? What flutter apps are written in ? It utilizes Dart, a language developed by Google, to write code. Dart's simplicity and efficiency power Flutter's expressive widgets, enabling developers to create stunning mobile, web, and desktop experiences with ease.
  • 16. Dart is a programming language developed by Google. It is designed for building web, mobile, and server applications. Dart aims to provide a productive and flexible development experience, emphasizing performance, simplicity, and a strong object-oriented foundation Let’s Explore Dart Overview ● Designed for Web and Mobile Development ● Dart SDK and DartPad ● Used for Server-Side Development Versatility
  • 18. Classes and Objects ● Classes are blueprints for creating objects. ● They define the properties and behaviors that objects of that type will have
  • 19. Control Flow ● Control flow statements help in controlling the flow of execution in a Dart program. ● They include conditional statements and looping constructs.
  • 20. Functions in Dart ● Functions are blocks of code that perform a specific task. ● They promote code reusability and organization in Dart programs.
  • 21. Okay, so that’s how you write code, but what about visuals ? Widgets
  • 22. What are widgets ? ● Widgets are the building blocks of Flutter applications. ● Everything in Flutter is a widget, including layout elements, text, buttons, and more. ● Widgets describe how the UI should look given its current configuration and state.
  • 23. Example of a Widget Similar to this, Flutter supports a wide range of Widgets that usually come out of the box under the “material.dart” package and etc, also enables to add custom widgets to your project by importing custom libraries. https://docs.flutter.dev/ui/widgets
  • 24. Widgets are in place. Now, how are these widgets rendered ? How flutter knows where to render what ? How communication works between these widgets ? Flutter uses something called a Widget Tree, similar to a DOM Structure in Web. ● Flutter uses a hierarchical structure called the widget tree. ● Each widget has a parent-child relationship, forming a tree-like structure. ● The root of the widget tree is usually the MaterialApp or CupertinoApp widget.
  • 25. There are two types: 1. Stateless Widgets A StatelessWidget is a widget that doesn't depend on any mutable state. Once created, its properties cannot change. It's used for UI elements that don't change over time or in response to user interactions.
  • 26. 2. Stateful Widgets A StatefulWidget is a widget that can change over time or in response to user interactions. It has associated state objects that manage the widget's state.
  • 27. That’s it ? Of Course not, these were just the tip of a whole iceberg guys, just to get you guys started into Flutter Development. Now, Ihope you have your basics clear, we will move on with the hands-on, so you can learn on the way by developing a flutter app simultaneously.
  • 29. What we making ? BMI Calculator