FLUTTER WITH ANDROID
INTRODUCTION
GROUP MEMBERS:
Ikhlas Khan 2607
Osama Sarfraz 2596
NATIVE VS HYBRID VS CROSS PLATFORM
Native Hybrid Cross platform
Definition • App developed for single • For both native and web • Build app that can run on
platform • Embed web code into native multiple platforms
• Native to operating system app • Same codebase
Language • Swift for IOS • HTML • Dart
• Java for android • CSS
Tools • Android Studio • Visual Studio • Flutter
• XCode • Apache Cordova • React native
• Atom • Ionic • Xamarin
Cost • Higher • Low • Low
Performance • High • Low • Medium
Open-source SDK created by google
in May,2017.
Cross-platform framework like react
native.
WHAT IS FLUTTER?
Uses dart language.
Now top 11 software repos based on
GitHub.
FRAMEWORK ARCHITECTURE
There are 4 major components in flutter Architecture.
• Dart platform
• Flutter Engine
• Foundation Library
• Design-specific widgets
WHAT MAKES FLUTTER SPECIAL?
No Need of bridge
Provide native look and
( advantage over react
feel
native)
No need of third-party
Compile to native code
widgets
WHY FLUTTER?
• Speed and performance
• Flexibility
• Less time to market
• Beautiful Uis
WIDGETS IN FLUTTER
• You build UI in flutter with the help of widgets.
• In flutter, there is widget for everything.
• Widget describe what view should look like.
• There are two type of widgets :
- Stateful Widget
- Stateless Widget
STATELESS WIDGET IMPLEMENTATION
STATEFUL WIDGET IMPLEMENTATION
WHAT IS ANDROID
• Open-source Mobile OS released in 2008 by GOOGLE.
• First version is 1.5 (cupcake). Latest version is “Android 11”.
• Based on Linux kernel.
• Now kotlin is official language for android development.
• Has its own virtual Machine i.e. DVM (Dalvic Virtual Machine) used for executing
android application.
• Now android has 1B+ users.
NATIVE ANDROID VS FLUTTER
• Android and flutter both are actively developed by google.
• Android is an OS while flutter is UI toolkit.
• Native development always has better performance than cross-platform.
• If you need high performance app then flutter is not a good choice.
• Flutter is not everything , you cannot compare both. Both have its own pros and cons.
• Flutter is good if you need
- Better UI
- Low cost
- less time
- cross platform
ANDROID IMPLEMENTATION