Flutter and Dart
|
This content was generated with the assistance of AI and should be verified against the official documentation before being relied on in production. |
Flutter is Google’s UI toolkit for building Android, iOS, web and desktop apps from a single Dart codebase. Unlike a WebView hybrid framework or a framework that drives native views, Flutter draws every pixel itself with its own renderer, so an app looks and behaves the same on every platform and OS version. This subsection is a reference for developers who know another stack, such as Kotlin, Swift, Java or TypeScript, and want to build a production Flutter app: it covers the Dart language first, then the framework, then the engineering topics around it (testing, platform code, release).
Version baseline
Checked against the official release feeds and package registry on 2026-11-10.
| Component | Version |
|---|---|
Flutter (stable) |
3.47.9 |
Dart |
3.13.7 |
go_router |
18.1.4 |
flutter_riverpod |
3.5.0 |
provider |
6.1.5+1 |
flutter_bloc |
9.1.1 |
dio |
5.11.1 |
http |
1.6.0 |
drift |
2.35.4 |
shared_preferences |
2.5.6 |
sqflite |
2.4.6 |
path_provider |
2.1.6 |
camera |
0.12.2 |
geolocator |
14.1.2 |
json_serializable |
6.15.2 |
mocktail |
1.0.5 |
On any discrepancy the current official documentation is the authority.
What’s covered
-
Dart Language Essentials — null safety, records, patterns, sealed classes, collections, async code, streams and isolates, with a mapping for Java, Kotlin and TypeScript developers.
-
Getting Started with Flutter — what Flutter is and how it compares with React Native, Ionic and native, installing the SDK, project layout, hot reload and the first screen.
-
Architecture and Rendering — framework, engine and embedder, the widget, element and render trees, Impeller, and the threads.
-
Widgets and Layout — stateless and stateful widgets, Material 3, layout widgets, lists, forms, responsive layout and animation.
-
State Management — setState, ChangeNotifier, Provider, Riverpod and Bloc compared.
-
Navigation and Routing — go_router, tab shells, guards and deep links.
-
Data, Storage and Networking — http and dio, JSON, the repository pattern, preferences, drift and an offline cache.
-
Platform Integration — platform channels, Pigeon, FFI, plugins, permissions, camera and location.
-
Testing — unit, widget, golden and integration tests.
-
Building and Releasing — build modes, flavors, signing, the stores, CI and obfuscation.
-
Flutter Cheat Sheet — a one-page quick reference.
Reading path
-
Read Dart Language Essentials and Getting Started with Flutter to set up and learn the language.
-
Continue with Architecture and Rendering, Widgets and Layout and State Management for the core programming model.
-
Add Navigation and Routing and Data, Storage and Networking to build a complete app.
-
Finish with Platform Integration, Testing and Building and Releasing, and keep the Flutter Cheat Sheet at hand.
Running example
Every page builds Trailhead, a hiking journal: a searchable trail list loaded from a REST API
(https://api.example.com/v1), a trail detail screen, favourites, a "log a hike" flow that attaches a camera photo
and a GPS position, and an offline cache of the trails. The state layer uses Riverpod and routing uses go_router. The
same app is built with Ionic and Capacitor in Ionic and Capacitor, so the two
approaches can be compared on one problem.
Related material on this site
-
Hybrid Apps — the parent subsection, with the shared tooling page.
-
Ionic and Capacitor — the WebView-based alternative.
-
React Native — the JavaScript framework that drives native views.
-
Kotlin Multiplatform — sharing Kotlin code across platforms.
-
Kotlin Multiplatform and Flutter — image loading and caching in Flutter.