Flutter
App
React Native Architecture
Javascript
Bridge
Platform
Service
OEM Widget
Canvas
Events
Location
Bluetooth
Audio
Sensors
Camera
etc.
App
Flutter Architecture
Native Code
Widget
Rendering
Platform
Service
Canvas
Events
Location
Bluetooth
Audio
Sensors
Camera
etc.
Platform
Channels
Flutter System Overview
Flutter Characteristic
-
No Support XML Design
-
Support Cross Platform
-
Everything is Widget
-
Language is Dart (like Java)
-
Using Android Studio
-
Google support
Plugin
Channel
Android Module
Flutter can be embedded into your existing Android application piecemeal, as a source code Gradle subproject or as AARs.
iOS Module
There are two ways to embed Flutter in your existing application.
-
Use the CocoaPods dependency manager and installed Flutter SDK. (Recommended.)
-
Create frameworks for the Flutter engine, your compiled Dart code, and all Flutter plugins. Manually embed the frameworks, and update your existing application’s build settings in Xcode.
iOS Module
Option A - Embed with CocoaPods and the Flutter SDK
Option B - Embed frameworks in Xcode
Widget Tree
Layout widgets
-
Single-child layout widgets
-
Multi-child layout widgets
Single-child layout
Multi-child layout
Flutter
By givemepass
Flutter
- 552