The Complete Flutter Course: Build Android, iOS and Web Apps
Dart or JavaScript: which language first?
JavaScript runs in every browser and on many servers; Dart is learnt mostly for Flutter. That makes the choice simpler than it looks, because it turns on what you want to build. This guide compares the two fairly, from syntax and types to what carries over, and picks out where The Complete Flutter Course: Build Android, iOS and Web Apps teaches Dart on its own before the later apps rely on it.
Taught by Sagnik Bhattacharya and Paulina Knop
What you will be able to do
You will be able to:
- Read Dart code knowing where it matches JavaScript and where it parts from it.
- Declare variables and lists with Dart's basic types and see the editor catch a type mistake.
- Build classes with methods and constructors, and solve small problems with loops, lists and maps.
- Check text against a pattern with Dart's RegExp class, much as you would with a regular expression in JavaScript.
- Use async and await in Dart, with a Future where JavaScript would hand you a Promise.
Projects
What you will build.
The course has nine projects. This one matters most here.
-
Project 01
My Dashatar
The first app, where Dart's types and hex colours are written for something on the screen rather than for an exercise.
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 14 of them, 58 min of video. Each lesson keeps its number in the course.
Where to start
Lesson 28 Classes, objects and "Hello World"
Start at Lesson 28: the Dart section runs in DartPad in your browser, so you can judge the language before installing anything. Coming from JavaScript, look at the async lessons from Lesson 80, where the two read most alike.
14 of 223 lessons · 58 min
03 My Dashatar app - Start with the basics to create your First Flutter App Dart's basic data types, met inside the first app rather than in theory.
- 15 Make your Dashatar and add an AppBar Scaffold, centred title, hex colours and Dart data types 7 min
06 Dart Programming Dart on its own in DartPad: classes, methods, constructors, conditions, loops, lists, maps and two sets of challenges, with no JavaScript needed.
- 28 Start here Classes, objects and "Hello World" A class with a method, void main and an object in DartPad 3 min
- 29 Access a class variable through an object Declare int a in the class and print obj.a 0 min
- 30 Methods that return a value Return types, the return keyword and storing the result 1 min
- 31 Constructors Pass a value into a new object with this.a 2 min
- 32 Call a method inside the constructor Run printText when the object is created and print its value 1 min
- 33 Check for even numbers The modulo operator, if, else if and a bool return type 4 min
- 34 For loops and lists in Dart Print even numbers from 1 to 10 and every item in a list 4 min
- 35 Maps in Dart Create a map, add a key and print each pair with forEach 2 min
- 36 Dart challenges, set 1 Loops, arithmetic, toString and swapping two variables 7 min
- 37 Dart challenges, set 2 Largest of three, string methods, vowels and odd numbers 6 min
09 Layouts, Gesture and animations: Landing Page Web (Portfolio) Regular expressions in Dart, close to JavaScript's but written through the RegExp class and tried in DartPad.
- 67 Regular expression basics in Dart RegExp, hasMatch and character ranges tested in DartPad 9 min
09 Layouts, Gesture and animations: Landing Page Web (Portfolio) async and await, which read much as they do in JavaScript, and what happens when await is left out.
- 80 Asynchronous code with async and await Future.delayed in DartPad and what happens without await 7 min
- 81 When to use await Timing delayed futures and when later code needs the result 5 min
Instructors
Who teaches it.
Instructor, Flutter
Paulina Knop
Flutter developer and curriculum designer. Teaches the Flutter course.
Questions
Asked before starting.
Is Dart worth learning when JavaScript runs almost everywhere?
Yes, if you want to build apps with Flutter, since Dart is the language Flutter apps are written in. JavaScript has far more uses: it runs in every browser and on many servers, so for websites and most web jobs it is the more useful language. Choose by what you want to build. The Complete Flutter Course: Build Android, iOS and Web Apps from Coding Liquids teaches Dart for Flutter from scratch, and this guide picks out 14 lessons (58 minutes) on the language itself.
Is Dart used for anything besides Flutter?
Somewhat: it also runs command-line tools and server code, and it compiles to JavaScript or WebAssembly for the web. Even so, most people learn it for Flutter, and that is the honest reason to choose it. The Complete Flutter Course: Build Android, iOS and Web Apps uses Dart in DartPad and inside Flutter apps only; it has no lessons on Dart for servers or command-line tools.
How different is Dart's syntax from JavaScript's?
Less than you might expect. Both use braces, semicolons, if and else, for loops and functions, and both write asynchronous code with async and await. The differences lie in types and classes: Dart declares types such as int and String and builds most code from classes, where JavaScript is looser on both. The Complete Flutter Course: Build Android, iOS and Web Apps shows these in DartPad, from classes and constructors to lists, maps and a regular expression.
Is Dart's strict typing harder for a beginner than JavaScript?
Usually not, and it often helps. Dart's types catch a mistake such as adding text to a number before the code runs, where JavaScript may let it through and misbehave later, and the editor points at the faulty line. The Complete Flutter Course: Build Android, iOS and Web Apps brings types in gently, from the basic data types of the first app to typed lists, before the later apps rely on them.
Will learning Dart first make JavaScript easier later, or the other way round?
Either order helps, because the core ideas are shared: variables, functions, conditions, loops, lists and maps, classes and async code. Coming from Dart, JavaScript feels looser; coming from JavaScript, Dart asks for more types. What does not transfer is each language's own platform, the browser and Node.js for JavaScript and Flutter for Dart. The Complete Flutter Course: Build Android, iOS and Web Apps gives you the Dart half of that pair.
Does this course teach Dart on its own, or only inside the apps?
Both. The Complete Flutter Course: Build Android, iOS and Web Apps gives Dart a section of its own in DartPad, starting at Lesson 28, where you build an even-number checker and solve two sets of challenges with no app around them. It then teaches more Dart inside the apps as they need it, such as a regular expression to check a contact form and async and await before the portfolio talks to Firebase.
Will the course teach me any JavaScript, TypeScript or Node.js?
No. The Complete Flutter Course: Build Android, iOS and Web Apps teaches Dart and Flutter only: JavaScript, TypeScript and Node.js have no lessons, apart from installing Node.js so its package manager can add the Firebase command-line tools. If websites are your main aim, a JavaScript course fits better; if you want apps for phones and the web from one codebase, Dart with Flutter is the route this course takes.
If I choose Dart, is this a good course to learn it with?
Yes, if your reason for Dart is building Flutter apps. The Complete Flutter Course: Build Android, iOS and Web Apps suits a beginner or a web learner who wants one language for Android, iOS and the web: it teaches the language on its own, with challenges to solve alone, and applies it in apps that grow from My Dashatar to a budget app with model classes. It does not suit someone who wants Dart for servers.
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.
The same course
For another background, goal, topic or comparison.
By background
By goal
By topic
- Dart
- State management
- Firebase
- Widgets and layouts
- UI design and styling
- Riverpod
- App architecture
- Sign-in and authentication
- Cloud Firestore
- REST APIs with Dio
- Navigation and routing
- Responsive layouts
- Animations and gestures
- Flutter web
- Set-up on Windows and Mac
- Forms and validation
- Futures and Streams
- CI with GitHub Actions
- Reusable widgets
- Debugging
- Packages from pub.dev
Comparisons
- Flutter or React Native
- Which framework to learn
- Course or free tutorials
- Flutter or native Android
- Flutter or Swift
- Flutter or Kotlin Multiplatform
- Flutter or FlutterFlow
- Learn Flutter or use AI
- Riverpod, BLoC or Provider
- Firebase or Supabase
- Flutter web or React
- Flutter or Ionic
- Flutter or .NET MAUI
- VS Code or Android Studio