Skip to content
Mobile Apps

Flutter Tutorial for Beginners: Cross-Platform Apps

Flutter is Google’s open-source UI toolkit for building apps for Android, iOS, web and desktop from a single codebase. Apps are written in Dart and built from widgets; Flutter draws its own UI, so apps look consistent across platforms, and hot reload shows code changes instantly. Install the Flutter SDK, run flutter create my_app and flutter run to start.

Hero: two phone mockups showing an app interface, for “Flutter”
Quick answer

Flutter is Google’s open-source UI toolkit for building apps for Android, iOS, web and desktop from a single codebase. Apps are written in Dart and built from widgets; Flutter draws its own UI, so apps look consistent across platforms, and hot reload shows code changes instantly. Install the Flutter SDK, run flutter create my_app and flutter run to start.

Why developers choose Flutter

Get started with Flutter

01

Install the SDK

Follow the official install guide for your operating system and run flutter doctor.

02

Set up an editor

Use VS Code or Android Studio with the Flutter and Dart plugins.

03

Create an app

Run flutter create my_app, then flutter run.

04

Learn widgets and state

Start with StatelessWidget, StatefulWidget and layout widgets such as Column and Row.

class Counter extends StatefulWidget {
  const Counter({super.key});
  @override
  State<Counter> createState() => _CounterState();
}

class _CounterState extends State<Counter> {
  int count = 0;
  @override
  Widget build(BuildContext context) {
    return ElevatedButton(
      onPressed: () => setState(() => count++),
      child: Text('Tapped $count times'),
    );
  }
}

Flutter pros and cons

Pros

Cons

How a Flutter project is organised

File or folderWhat it is for
lib/Your Dart code. The app starts in lib/main.dart
pubspec.yamlApp name, version, packages, fonts and images
android/ and ios/Native project files, used for permissions and release settings
test/Automated tests

As the app grows, group code by feature. A folder for each feature, with its screens, state and data code together, is easier to follow than one folder for every screen in the app.

Understanding state

State is any information that can change while the app runs, such as a counter, a login or a list of items. Keep state that belongs to one widget inside it with setState. When several screens need the same information, move it up and share it with a state management package such as Provider, Riverpod or Bloc. Learn one of them well before comparing the rest.

Screenshot or photo supporting “Understanding state” (Flutter)

Performance tips

Common problems for beginners

Next, read mobile app design and how to publish on Google Play.

Keep learning

More in Mobile Apps

Android

To build Android apps, install Android Studio (Google’s official IDE), learn Kotlin — Google’s preferred language for Android, though Java…

iOS

To build iPhone apps you need a Mac with Xcode, Apple’s free IDE. Learn Swift and build interfaces with SwiftUI,…

React Native

React Native lets you build real native mobile apps for Android and iOS using JavaScript or TypeScript and React. Your…

Latest articles

Related Mobile Apps articles

FAQ

Flutter questions, answered

Short, honest answers to the questions people ask most about this topic.

Is Flutter good for beginners?

Yes. Flutter’s documentation, hot reload and widget-based approach make it beginner-friendly, though you need to learn Dart.

Yes. Flutter can target the web, which works well for app-like experiences, but content-heavy, SEO-focused websites are usually better built with web technologies.

Flutter is used by startups and large companies for consumer and business apps, especially when they want one team to ship on Android and iOS.

Yes. Flutter and Dart are free and open source.

Next step

Keep building your skills

Explore the rest of our Mobile Apps guides, or follow the beginner path step by step.