Flutter and React Native code statistics
Forty numbers on Flutter and React Native code, read on 21 November 2026.
Free for one project and 100 votes. Paid plans start with a 14 day trial, no card.
Flutter widgets
Eight numbers on how Flutter screens are built, from widget classes to the list builder.
Stateless widgets are in 5,758,976 of 31,326,208 Dart files, only 1.1 times the stateful ones.
Stateless and stateful widget files are nearly level, and the screen frame sits in one Dart file in five.
| Statistic | Number |
|---|---|
| Dart files read | 31,326,208 |
| Stateless widget files | 5,758,976 |
| Stateful widget files | 5,390,336 |
| Stateless to stateful | 1.1 to 1 |
| setState files | 4,063,232 |
| Scaffold files | 6,103,040 |
| Scaffold share | 19.5 in 100 |
| List builder files | 1,198,080 |
Look and feel
Eight numbers on the two Flutter design libraries and on code that checks the platform.
Material is imported in 40.9 in 100 Dart files, 19.3 times as often as the iOS style library.
Material leads by a wide margin, and Android checks outnumber iOS checks 1.4 to 1.
| Statistic | Number |
|---|---|
| Material import files | 12,812,288 |
| Material share | 40.9 in 100 |
| Cupertino import files | 664,576 |
| Cupertino share | 2.1 in 100 |
| Material to Cupertino | 19.3 to 1 |
| Android check files | 165,888 |
| iOS check files | 115,968 |
| Android to iOS checks | 1.4 to 1 |
React Native
Eight numbers on how React Native code is written in TypeScript.
535,552 TypeScript files import React Native, and scroll views outnumber lists 2.9 to 1.
Style sheets and platform checks are each in about 200,000 files, and the base is every TypeScript file.
| Statistic | Number |
|---|---|
| TypeScript files read | 232,783,872 |
| React Native import files | 535,552 |
| React Native share | 0.2 in 100 |
| StyleSheet files | 206,543 |
| Platform.OS files | 197,120 |
| ScrollView files | 65,536 |
| FlatList files | 22,496 |
| ScrollView to FlatList | 2.9 to 1 |
Components
Eight numbers on the components apps use to take a tap, show an alert or open a link.
The newer press component is in 43,968 files, 1.6 times as often as the older one.
Alerts are four times as common as link calls, and keyboard handling is the rarest of the group.
| Statistic | Number |
|---|---|
| Pressable files | 43,968 |
| TouchableOpacity files | 27,264 |
| Pressable to older | 1.6 to 1 |
| Alert files | 61,056 |
| Linking files | 15,072 |
| Alert to Linking | 4.1 to 1 |
| SafeAreaView files | 10,720 |
| Keyboard avoiding files | 5,248 |
Project files
Eight numbers on the package, lock and lint files that a cross platform project carries.
93.8 in 100 of 962,560 Dart package files depend on Flutter, and 73.6 in 100 have a lock file.
Most package files belong to Flutter apps, and about three in ten set their own lint rules.
| Statistic | Number |
|---|---|
| pubspec.yaml files | 962,560 |
| Flutter pubspec files | 903,168 |
| Flutter share | 93.8 in 100 |
| pubspec.lock files | 708,608 |
| Lock file share | 73.6 in 100 |
| analysis_options files | 284,672 |
| Lint rules share | 29.6 in 100 |
| tsconfig.json files | 4,825,088 |
What is in the file
Forty numbers in one file
Every figure has a row in the CSV, with its group and unit.
Two stacks side by side
Four groups on Flutter and React Native code, and a fifth on project files.
Totals, shares and ratios
No app, package author or vendor is named, only counts over groups of files.
Easy to cite
Quote one number or the set, with this page and the read date.
How the files were counted
One code search for each widget, component or file name.
Pick the names
Of 45 searches, each names a widget, a component, an import line or a file name, with a language filter where one fits.
Run them slowly
The public code search took one request at a time, with a pause of seven seconds or more between them.
Try a flagged result again
A result marked as partial was asked for again, up to three more times, before it was kept.
Compute and check
Shares and ratios were computed in code from the counts, and each figure was asserted before the page was written.
What a board button should be built on
Material is the default look in Flutter, with 12,812,288 import files against 664,576 for Cupertino, a gap of 19.3 to 1. A board built for Flutter takes its style from Material and treats Cupertino as the smaller second path.
React Native code reaches for Pressable in 43,968 files and for the older TouchableOpacity in 27,264. Alert is in 61,056 files and Linking in 15,072, and opening a board in the browser takes Linking, the module that fewer apps already use.
What these numbers leave out
- These are files and not apps, and code copied into many projects counts once for each copy.
- Large counts come back rounded, so two figures within 10 percent of each other are level.
- The React Native base is all TypeScript, which includes web projects, so the share is a floor for mobile use.
- A component name in a file shows that it is used there, not that it ships in a release.
- JavaScript files are not counted, so React Native projects written in plain JavaScript are missing.
- The search has no date filter, so old code stays in every total and the shares lean toward long running projects.
- The page names no app, package or vendor, and each figure is a count read on 21 November 2026.
Cross platform code questions
Are Flutter apps mostly stateless or stateful?
Stateless widget classes are named in 5,758,976 Dart files and stateful ones in 5,390,336, which is 1.1 to 1.
How common is Material in Flutter code?
It is imported in 12,812,288 Dart files, 40.9 in 100 of the 31,326,208 read.
Do Flutter apps use the iOS style library?
It is imported in 664,576 files, 2.1 in 100, so Material leads 19.3 to 1.
Which platform do Flutter apps check for first?
Android checks are in 165,888 files and iOS checks in 115,968, which is 1.4 to 1.
How many Flutter projects keep a lock file?
708,608 lock files sit beside 962,560 package files, 73.6 in 100.
How many TypeScript files import React Native?
535,552, which is 0.2 in 100 of the 232,783,872 TypeScript files read.
FlatList or ScrollView?
Scroll views are named in 65,536 files and lists in 22,496, which is 2.9 to 1.
Pressable or TouchableOpacity?
The newer component is in 43,968 files and the older in 27,264, which is 1.6 to 1.
How common are alerts in React Native code?
The alert call is in 61,056 files, 4.1 times the 15,072 files that open a link.
May a page quote these figures?
Yes, with this page named and the read date. Every figure is one of the 40 rows in flutter-and-react-native-code-statistics-2026-11.csv, so a reader can check it.
More files, counted
More counts from public code.
Add a feedback board to a Flutter app
The same board inside a Flutter screen.
Add a feedback board to React Native
The same board inside a React Native screen.
Native or web view feedback tools
What a native widget gives and what a web view gives.
Android app code numbers in one file
Forty numbers on Kotlin, Compose and build files.
Swift code numbers in one file
Forty numbers on frameworks and packages.
iOS and Mac build numbers in one file
Build machines, release scripts and service imports.
App Store listing folder numbers
Listing files, locales and upload settings.
Where feedback tools turn up, counted
Plugins, npm installs and public code files.
Ship the release, then ask what is next
Your first board is free, with one project and 100 votes. The 14 day trial of Lite or Pro needs no card.