The Complete Flutter Course: Build Android, iOS and Web Apps

One Flutter app for Android, iOS and the web

Flutter's promise is one codebase for every platform, and for the bulk of an app it holds: screens, logic, data and sign-in are written once. The rest is smaller but real: a check for the browser here, a layout for wide screens there, set-up steps for each platform and a test run on each. This guide picks out the lessons of The Complete Flutter Course: Build Android, iOS and Web Apps that show both sides, from a project created for three platforms to a workflow that builds four.

Taught by Sagnik Bhattacharya and Paulina Knop

The Complete Flutter Course: Build Android, iOS and Web Apps: Sagnik Bhattacharya and Paulina Knop

What you will be able to do

You will be able to:

  • Create one Flutter project that builds for Android, iOS and the web, and watch the same code run on Android and in a browser.
  • Set up Windows desktop builds and, on a Mac, Xcode for the iOS Simulator.
  • Organise a project into web and mobile folders and pick the layout by screen width with LayoutBuilder.
  • Connect Firebase for Android, iOS and the web, and use kIsWeb wherever the browser needs different code.
  • Put Google sign-in behind one button that opens a pop-up on the web and uses a package on phones.
  • Have one GitHub Actions workflow build the Windows, Android, web and iOS versions on every push.

Projects

What you will build.

The course has nine projects. These three matter most here.

  • Project 08

    Budget app

    One app with a phone layout, a wide layout and a Google sign-in that takes another route in the browser, a close look at where shared code ends.

  • Project 04

    Portfolio website and app

    A website and a phone app from the same project, with web and mobile folders and routes that choose between them by width.

  • Project 03

    Launchpad

    The finished app that one workflow builds for Windows, Android, the web and iOS each time you push.

Lessons

The lessons that matter, in course order.

The Complete Flutter Course: Build Android, iOS and Web Apps has 223 lessons. This page picks out 15 of them, 1 h 37 min of video. Each lesson keeps its number in the course.

Where to start

Lesson 1 What is Flutter?

Start at Lesson 1: the free preview lessons show what one codebase means and run a small app on the web unchanged. If you choose Flutter, follow the course in order from the set-up at Lesson 4; the platform-specific steps picked out here come up along the way.

15 of 223 lessons · 1 h 37 min

01 Introduction 2 of 3 lessons · 10 min Why one codebase for Android, iOS, web and desktop saves building an app again for each, and a small coffee-counter app that runs on the web without a change.
  1. 1 Start here What is Flutter? One codebase for Android, iOS, web and desktop apps Free preview 5 min
  2. 2 A coffee counter app, widget by widget AppBar, buttons, setState and the same code on the web Free preview 5 min
02 Flutter Setup and Installation 2 of 9 lessons · 11 min The optional Windows desktop set-up with Visual Studio and Developer Mode, and the full set-up on a Mac with Xcode for the iOS Simulator.
  1. 11 Optional: set up Windows desktop apps Visual Studio, NuGet, flutter config and Developer Mode 4 min
  2. 12 Complete Flutter set-up on a Mac Java, the SDK, Android Studio, emulator, Xcode and Node.js 7 min
09 Layouts, Gesture and animations: Landing Page Web (Portfolio) 2 of 35 lessons · 13 min A project laid out in web and mobile folders, and LayoutBuilder giving wide screens the web layout and narrow ones the phone layout.
  1. 51 Project structure and LayoutBuilder Google Fonts, assets, web and mobile folders and main.dart 6 min
  2. 52 Layout by screen width and lint rules Web layout above 800 pixels, analysis_options.yaml and TabsWeb 6 min
15 Flutter Firebase setup for Android, iOS, and web 4 lessons · 26 min Firebase for Android, iOS and the web: the FlutterFire CLI that configures all three at once, then the older manual set-up with each platform's own registration and kIsWeb to tell the browser apart.
  1. 123 Connect Firebase with the FlutterFire CLI Current method: flutterfire configure for Android, iOS and web 9 min
  2. 124 Older manual set-up: iOS and Android apps Bundle ID, package name and each platform's configuration file 6 min
  3. 125 Older manual set-up: initialise Firebase Gradle settings, cloud_firestore, async main and kIsWeb 6 min
  4. 126 Older manual set-up: the web app Web config values in FirebaseOptions, tested on web and phone 5 min
22 Budget App using Flutter Riverpod and MVVM architecture 4 of 47 lessons · 15 min Google Sign-In that branches by platform: a pop-up on the web, the google_sign_in package on phones, both signing in through Firebase Authentication. The package has since changed how sign-in starts, so read its current documentation alongside.
  1. 176 Creating the Google Sign-In button The sign_button package and kIsWeb to pick web or mobile 3 min
  2. 177 Google Sign-In functions for web and mobile A pop-up on the web and the google_sign_in package on phones 5 min
  3. 178 Connecting Google Sign-In to Firebase Auth Turn Google tokens into a credential for signInWithCredential 2 min
  4. 179 Google button wiring and the web login page Pick the web or mobile sign-in, then start the web layout 4 min
25 Continuous integration with GitHub Actions 1 lesson · 22 min One workflow, run on every push, that builds the Windows, Android, web and iOS versions on separate machines and keeps the Windows, Android and web builds for download.
  1. 223 Automatic builds with GitHub Actions Build Windows, Android, web and iOS apps on every push 22 min

Instructors

Who teaches it.

Paulina Knop smiling, shoulder-length brown hair, wearing a black top.

Instructor, Flutter

Paulina Knop

Flutter developer and curriculum designer. Teaches the Flutter course.

Questions

Asked before starting.

How much of one Flutter project really carries over to Android, iPhone and the web?

Most of it. The screens, the logic, the data and the sign-in are written once in Dart and run on all three, because Flutter draws its own widgets everywhere. What stays per platform is smaller: set-up and configuration for each, a few branches where the browser behaves differently, layouts that adapt to wide screens, and testing on each. The Complete Flutter Course: Build Android, iOS and Web Apps from Coding Liquids builds its apps this way; the 15 lessons picked out here (1 hour 37 minutes) show where the line falls.

Where does the code have to branch for the web or for phones?

In a few predictable places. kIsWeb, which is true in a browser, lets one file take a different path, as the budget app's Google sign-in does: a pop-up on the web, the google_sign_in package on phones. Screen width decides the layout, through LayoutBuilder or a width check, and the older Firebase set-up gives the web its own configuration values. The Complete Flutter Course: Build Android, iOS and Web Apps shows each: kIsWeb at Lesson 125 and Lesson 176, layouts by width from Lesson 51.

Can the same code also become a Windows desktop app?

Yes, on Windows itself. Once Visual Studio, flutter config and Developer Mode are set up, the same project builds a Windows app; The Complete Flutter Course: Build Android, iOS and Web Apps covers that set-up in the optional Lesson 11, and its GitHub Actions workflow saves a Windows build on every push. Menus, window sizes and mouse and keyboard handling for a desktop audience are yours to adapt, and macOS or Linux desktop apps are not covered.

Do I still need to test on every platform separately?

Yes. Shared code still meets different screens, browsers and platform rules, and some faults show up on one platform only, so each version needs a run of its own. The Complete Flutter Course: Build Android, iOS and Web Apps works that way: the budget app's sign-in is tried in Chrome after an emulator network bug, then with email and Google on the web and Google on a phone. Writing automated tests is not taught; the lessons test by running the app.

Which platform-specific steps does the course leave out?

The ones at the edges of each platform. The Complete Flutter Course: Build Android, iOS and Web Apps does not teach publishing on Google Play or the App Store, signing an app, platform channels that call Kotlin, Java or Swift, or desktop apps for macOS and Linux. It covers the platform steps an app needs to run: Android Studio and an emulator, Xcode on a Mac, Firebase registration for Android, iOS and the web, launcher icons and a favicon, and Windows desktop as an option.

I need one app for Android, iPhone and the web: which course should I take?

The Complete Flutter Course: Build Android, iOS and Web Apps is built around that need. Its apps are built for Android, iOS and the web from one Dart codebase: a portfolio that is a website and a phone app, a budget app with sign-in, live data and layouts for narrow and wide screens, and a workflow that builds the launchpad for Windows, Android, the web and iOS on each push. It suits anyone who wants to cover all three alone or in a small team. It is not the course for publishing to the stores or for platform code in Kotlin or Swift.

Flutter

See the whole course.

The Complete Flutter Course: Build Android, iOS and Web Apps: 25 hours of video in 223 lessons, built around 9 projects, with lifetime access, a Certificate of Completion and a 14-day money-back guarantee.