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

Flutter for Python programmers

If Python taught you to program, at college, in data work or in scripts that automate a job, you already have the hard part: variables, loops, functions and data structures. Flutter apps are written in Dart, which looks stricter at first. This guide picks out the lessons of The Complete Flutter Course: Build Android, iOS and Web Apps where Dart's types, collections and JSON come in, so the switch builds on what you know rather than starting over.

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:

  • Declare Dart values with their types, and see where Python's dynamic typing differs.
  • Write Dart classes, methods and constructors: the same ideas as Python classes in a different syntax.
  • Loop over Dart lists and maps the way you loop over Python lists and dictionaries.
  • Choose const or final for a value that should never change once it is set.
  • Read JSON from a web service in Dart after a GET request with Dio.

Projects

What you will build.

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

  • Project 01

    My Dashatar

    Dart's data types and a typed list met inside a first app, before the Dart lessons proper.

  • Project 09

    REST API app

    JSON from a web service handled in Dart, where a Python script would reach for dictionaries.

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 17 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 lessons run in DartPad in your browser, so you can begin before installing Flutter. Then go back to Lesson 13 for My Dashatar, where Dart's types and lists first appear inside an app.

15 of 223 lessons · 1 h 17 min

03 My Dashatar app - Start with the basics to create your First Flutter App 1 of 7 lessons · 7 min A Scaffold and an AppBar with a centred title and hex colours, with Dart's basic data types met along the way.
  1. 15 Make your Dashatar and add an AppBar Scaffold, centred title, hex colours and Dart data types 7 min
05 My Dashatar App - Understanding Flutter layouts in depth 1 of 6 lessons · 5 min Typed lists tried in DartPad, then a Column of coloured containers built from one.
  1. 24 Lists in Dart and the Column widget Typed lists in DartPad and a Column of coloured containers 5 min
06 Dart Programming 10 lessons · 30 min Dart from classes and objects to methods, constructors, if and else, loops, lists, maps and string methods, closed by two sets of challenges.
  1. 28 Start here 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
09 Layouts, Gesture and animations: Landing Page Web (Portfolio) 1 of 35 lessons · 6 min Values fixed when the code is compiled against values fixed once at run time: when to write const and when final.
  1. 53 When to use const or final Compile time vs runtime, and styling the tab text in Oswald 6 min
24 Flutter Networking: Build Robust Apps with API Integration 2 of 6 lessons · 29 min REST methods, status codes and the JSON format, then a GET request with Dio that prints comments from a practice API.
  1. 220 Introduction to REST APIs HTTP methods, status codes, JSON and XML, and versioning 8 min
  2. 221 A Dio GET request that prints comments JSONPlaceholder data, status code and headers in the console 21 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.

I know Python; how hard is the switch to Dart?

Easier than starting from nothing: loops, conditions, functions, classes, lists and maps all carry over, and what changes is mostly syntax and types. The Complete Flutter Course: Build Android, iOS and Web Apps from Coding Liquids teaches Dart in DartPad, in your browser, from classes and objects up, and this guide picks out 15 lessons (1 hour 17 minutes) where the differences from Python show.

Can I build Flutter apps in Python instead of Dart?

Not with Flutter itself: Flutter apps are written in Dart. Separate projects such as Flet let you write Python and have Flutter draw the interface, but they come with their own documentation and limits, and The Complete Flutter Course: Build Android, iOS and Web Apps uses none of them. Learning Dart gives you Flutter directly, with its own documentation and every package written for it.

What trips Python programmers up in Dart: braces, semicolons or types?

Types, more than punctuation. Braces and semicolons become habit within a few exercises, but Dart checks types before the code runs, so a variable declared as an int cannot later hold a string, and lists and maps carry types too. The Complete Flutter Course: Build Android, iOS and Web Apps meets the basic types at Lesson 15, typed lists at Lesson 24, and const and final at Lesson 53.

Do Python's lists and dictionaries have equivalents in Dart?

Yes: Dart's List and Map. A list holds items in order, as in Python, and a map holds keys and values like a dictionary, with the types of its keys and values declared. The Complete Flutter Course: Build Android, iOS and Web Apps loops over a list at Lesson 34, builds a map and prints each pair with forEach at Lesson 35, and brings in string methods in the second set of challenges.

Which lessons should a Python programmer do first?

The Dart lessons, from Lesson 28: they run in DartPad with nothing to install and take you quickly through classes, methods, constructors, conditions, loops, lists and maps. Then go back to set-up and the first app in The Complete Flutter Course: Build Android, iOS and Web Apps, and leave the REST lessons until you have built a screen or two.

Which Flutter course suits someone who learnt to code in Python?

The Complete Flutter Course: Build Android, iOS and Web Apps suits you if you want apps rather than more scripts: it treats Dart as a language to learn properly, with exercises before the later apps lean on it, and puts it to work from My Dashatar to a budget app with sign-in and live data. It is not for someone hoping to keep writing Python, which no lesson writes, or to build Python back ends.

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.