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

Flutter or Kotlin Multiplatform for Android and iOS

Kotlin Multiplatform lets a team share Kotlin code between Android and iOS, from the business logic alone to the whole app with Compose Multiplatform; Flutter shares the interface and the logic from the start, in Dart. Google supports both, so the choice rests on your team's language and how much it wants to share. This guide weighs that fairly, then picks out the Flutter side as The Complete Flutter Course: Build Android, iOS and Web Apps teaches it: Dart, logic kept apart from the screen, and one app across platforms.

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:

  • Describe how Flutter shares one interface and one set of logic across platforms, with every screen drawn by its own engine.
  • Write Dart classes, constructors, methods, loops, lists and maps: the language you learn here in place of Kotlin.
  • Build the same counter app with MVC, MVVM and BLoC, and say what each pattern keeps out of the view.
  • Explain clean architecture's layers and use cases, and recognise when they are too much for a small app.
  • Move a calculation out of the widgets into a view model, and read each stored document into a model class with a fromJson constructor.

Projects

What you will build.

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

  • Project 08

    Budget app

    Interface and logic written once in Dart and shared by Android, iOS and the web, where a Kotlin Multiplatform team would share a module and perhaps the screens.

  • Project 07

    Counter in MVC, MVVM and BLoC

    One small app with its logic moved out of the view in three different ways, the habit that makes shared code worth sharing on any stack.

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 24 of them, 4 h 11 min of video. Each lesson keeps its number in the course.

Where to start

Lesson 1 What is Flutter?

Start at Lesson 1: the Introduction's free preview lessons show what Flutter shares and how it draws, the heart of this comparison. Dart follows from Lesson 28. The architecture lessons from Lesson 159 build on the apps that come before them, so if you choose Flutter, take the course in order.

24 of 223 lessons · 4 h 11 min

01 Introduction 3 lessons · 15 min What Flutter is, a small app built widget by widget, and the engine that draws one interface everywhere, where Kotlin Multiplatform leaves the interface to each platform or to Compose Multiplatform.
  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
  3. 3 How Flutter works under the hood Dart, native compilation and the Flutter rendering engine Free preview 5 min
06 Dart Programming 10 lessons · 30 min Dart in DartPad, the language you learn here instead of Kotlin: classes, objects and constructors, if and else, loops, lists and maps, then two sets of challenges to do alone.
  1. 28 Classes, objects and "Hello World" A class with a method, void main and an object in DartPad 3 min
  2. 29 Access a class variable through an object Declare int a in the class and print obj.a 0 min
  3. 30 Methods that return a value Return types, the return keyword and storing the result 1 min
  4. 31 Constructors Pass a value into a new object with this.a 2 min
  5. 32 Call a method inside the constructor Run printText when the object is created and print its value 1 min
  6. 33 Check for even numbers The modulo operator, if, else if and a bool return type 4 min
  7. 34 For loops and lists in Dart Print even numbers from 1 to 10 and every item in a list 4 min
  8. 35 Maps in Dart Create a map, add a key and print each pair with forEach 2 min
  9. 36 Dart challenges, set 1 Loops, arithmetic, toString and swapping two variables 7 min
  10. 37 Dart challenges, set 2 Largest of three, string methods, vowels and odd numbers 6 min
21 Flutter Software Architectures 10 lessons · 2 h 28 min Software architecture from its purpose up: a counter app built in MVC, MVVM and BLoC after a theory lesson on each, then clean architecture and domain-driven design without code, ending on how to avoid over-engineering.
  1. 159 Introduction to software architecture Why apps need a blueprint and three common misconceptions 10 min
  2. 160 MVC: Model View Controller What the model, view and controller do, with pros and cons 12 min
  3. 161 A counter app in MVC Separate model, controller and view files for a counter 13 min
  4. 162 MVVM: Model View ViewModel Roles, origins, data flow, benefits and pitfalls of MVVM 18 min
  5. 163 A counter app in MVVM Model, view model and view files linked by a callback 15 min
  6. 164 BLoC: Business Logic Component Events, states, streams and the flutter_bloc widgets 20 min
  7. 165 A counter app with BLoC Events, states, BlocProvider and BlocBuilder in flutter_bloc 23 min
  8. 166 Clean architecture and DDD: the theory Layers and use cases; domain-driven design's bounded contexts 22 min
  9. 167 Domain-driven design for a social network Entities, services and bounded contexts, benefits and costs 7 min
  10. 168 Keeping clean architecture and DDD on track Refining layers and contexts, and avoiding over-engineering 8 min
23 Budget app: performance optimisation and code reuse 1 lesson · 58 min The budget app reworked: sign-in watched through a Riverpod StreamProvider, repeated code turned into shared widgets, the totals moved into the view model and each Firestore document read into a model class.
  1. 216 Performance optimisation and code reuse StreamProvider for sign-in, shared widgets and a model class 58 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.

Is Flutter or Kotlin Multiplatform the better choice for one app on Android and iOS?

Neither wins everywhere; it turns on your team. Kotlin Multiplatform suits teams that already write Kotlin for Android and want to share logic, keeping native screens or sharing them through Compose Multiplatform. Flutter suits teams that want one language and one interface for Android, iOS and the web from the first day, even if that means learning Dart. The Complete Flutter Course: Build Android, iOS and Web Apps from Coding Liquids teaches the Flutter side, and this guide picks out 24 lessons (4 hours 11 minutes) on sharing code and keeping logic apart.

Does Kotlin Multiplatform share the user interface too, or only the logic?

Either. Kotlin Multiplatform by itself shares code such as business logic, networking and data handling while each platform keeps its own interface, and Compose Multiplatform from JetBrains builds on it to share the interface as well, on Android, iOS and desktop, with its web support less mature. Flutter shares interface and logic from the outset, with its engine drawing the same widgets on every platform. The Complete Flutter Course: Build Android, iOS and Web Apps teaches that Flutter way: one widget tree for all of them.

Is Kotlin Multiplatform replacing Flutter now that Google supports it?

No. Google supports Kotlin Multiplatform for sharing business logic between Android and iOS, and it also builds apps of its own with Flutter, which it develops together with contributors around the world. The two meet different needs: native interfaces over shared Kotlin, or one Dart codebase for every screen. The Complete Flutter Course: Build Android, iOS and Web Apps teaches Flutter and makes no forecast, and the ideas in its architecture lessons, from MVC to clean architecture, are not tied to Flutter.

Which is easier to learn if I have used neither Kotlin nor Dart?

The languages are close in difficulty: both are modern, typed and object-oriented, with null safety and async code. What differs is what comes with them. Flutter asks for Dart and one toolkit; Kotlin Multiplatform asks for Kotlin and Gradle and, unless the interface is shared with Compose Multiplatform, each platform's own interface toolkit too, SwiftUI or UIKit on iOS. The Complete Flutter Course: Build Android, iOS and Web Apps starts Dart from nothing in DartPad at Lesson 28, before the later apps rely on it.

Can a team add Flutter to part of an existing native app?

Yes. Flutter's add-to-app support places Flutter screens inside an existing Android or iOS app, so a team can try it on one feature before committing further, much as Kotlin Multiplatform can arrive one shared module at a time. The Complete Flutter Course: Build Android, iOS and Web Apps does not teach add-to-app: each of its apps is a Flutter project from its first line, so it shows what a whole Flutter app looks like rather than how to graft one onto native code.

Is any Kotlin Multiplatform or Compose Multiplatform covered here?

No. The Complete Flutter Course: Build Android, iOS and Web Apps teaches no Kotlin, Kotlin Multiplatform or Compose Multiplatform, and no way of adding Flutter to an existing native app. What it teaches in their place is the Flutter answer to shared code: one Dart codebase whose widgets, state, Firebase sign-in and Cloud Firestore data are written once for Android, iOS and the web, with logic moved out of the screens into view models and model classes.

As a developer leaning towards Flutter rather than Kotlin Multiplatform, is this course a good place to learn it?

Yes, if you want the whole Flutter path rather than a tour. The Complete Flutter Course: Build Android, iOS and Web Apps teaches Dart from its basics, then builds apps that share everything across Android, iOS and the web: a portfolio on Firebase, a budget app with Riverpod and MVVM, a REST client with Dio and a workflow that builds the launchpad for Windows, Android, the web and iOS. Its architecture section covers MVC, MVVM, BLoC and clean architecture. It is not for someone who has settled on Kotlin Multiplatform, which it never touches.

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.