Flutter uses Dart and draws widgets with its own engine, while React Native uses JavaScript or TypeScript and native platform controls. Flutter offers pixel-consistent UI; RN shares a language with React web teams. Profile a real list screen before you pick a winner from social media.
This Flutter cheat sheet is written for people searching for a fast, accurate reference: students, junior developers, and teams shipping production software. Pin it, copy the snippets, and come back when syntax slips.
Quick reference
- Language: Flutter: Dart. RN: JS/TS. Your team’s skill is the biggest predictor of speed.
- UI: Flutter paints every pixel. RN maps to UIView/android.view.
- Look: Flutter is consistent. RN looks native unless you restyle everything.
- Hot reload: Both are excellent for UI iteration.
- Plugins: Check camera, maps, payments, BLE for your app before choosing.
- Web: RN can share JS logic with React web. Flutter web is a separate quality bar.
- Store: Both produce store binaries. CI (Codemagic, EAS, Fastlane) matters more than brand.
- Interop: Platform channels / FFI (Flutter) vs native modules (RN) for Kotlin/Swift code.
Copy-paste examples
Flutter counter for comparison
The RN equivalent is useState and Pressable. Same product idea, different renderer.
import 'package:flutter/material.dart';
class Counter extends StatefulWidget {
const Counter({super.key});
@override
State<Counter> createState() => _CounterState();
}
class _CounterState extends State<Counter> {
int n = 0;
@override
Widget build(BuildContext context) {
return Column(
children: [
Text('$n'),
ElevatedButton(onPressed: () => setState(() => n++), child: const Text('Add')),
],
);
}
}Common mistakes
- Picking Flutter because “Google” or RN because “Facebook” without a plugin inventory.
- Promising 100% code share with an existing React website from either stack.
- Ignoring iOS and Android permission strings until store rejection.
- Never measuring FPS on a cheap Android device.
FAQ
- Which is easier if I know React? React Native. If you know none, Flutter’s widget docs and layout errors are very teachable.
- Can I embed Flutter in an existing native app? Yes (add-to-app). RN can also be integrated. Both have a cost. Greenfield is simpler.
- Does Flutter use JavaScript? No. Dart compiles to native code for mobile. JS is not in the default Flutter mobile runtime.
Related Flutter cheat sheets
Build with this stack
When a cheat sheet is not enough — you need a production app, a student FYP, or a custom dashboard — ArpaNeuro builds mobile app development and also sells ready-made source code. Request a quote and tell us the stack.
Browse software development services or the source code marketplace if you want a working codebase instead of starting from a blank file.