The Complete Flutter Course: Build Android, iOS and Web Apps
Flutter packages from pub.dev
Packages save you writing what others have already built, as long as you choose them well. This guide gathers the lessons of The Complete Flutter Course: Build Android, iOS and Web Apps where a package is weighed on pub.dev, added to pubspec.yaml and put to work, and it is honest about the packages whose calls have changed since their lessons.
Taught by Sagnik Bhattacharya and Paulina Knop
What you will be able to do
You will be able to:
- Find a package on pub.dev and judge it by its likes, pub points, downloads, publisher and platforms.
- Add a package to pubspec.yaml, fetch it and import it into your code.
- Tell a run-time dependency from a development tool that belongs under dev_dependencies.
- Play sounds with audioplayers, set type with Google Fonts and draw SVG icons with flutter_svg.
- Open links with url_launcher, log with logger and send web requests with Dio.
- Use a package's changelog when a lesson's calls no longer match the package.
Projects
What you will build.
The course has nine projects. These five matter most here.
-
Project 01
My Dashatar
Its first packages: a tool that generates launcher icons, then audioplayers for a beat on every tap.
-
Project 03
Launchpad
Google Fonts in the AppBar and the sounds each pad plays, in an app you build yourself.
-
Project 04
Portfolio website and app
SVG icons, links that open in the browser and a logger: the packages a real site leans on.
-
Project 08
Budget app
Sign-in packages for a Google button on the web and on phones, beside Firebase's own packages.
-
Project 09
REST API app
Dio for web requests, the package that does the talking to a server's API.
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 9 of them, 1 h 7 min of video. Each lesson keeps its number in the course.
Where to start
Lesson 40 Add sound files and the audioplayers package
Start at Lesson 40, a lesson that weighs a package on pub.dev before adding it; the icon tool at Lesson 18 comes earlier if you want the dev_dependencies idea first. Each later lesson adds a package inside its own project, so follow it once you reach that project.
9 of 223 lessons · 1 h 7 min
03 My Dashatar app - Start with the basics to create your First Flutter App flutter_launcher_icons under dev_dependencies, a tool that generates icons and never ships inside the app.
- 18 Change the launcher icon: older package method The flutter_launcher_icons package and dev_dependencies 6 min
07 State management - Basics A package checked on pub.dev before audioplayers is added, with the sound files listed as assets.
- 40 Start here Add sound files and the audioplayers package Assets in pubspec.yaml, pub.dev checks and an AudioPlayer 4 min
08 Ninja challenge 2 - Launchpad app Google Fonts in the launchpad's AppBar, beside the first stateful pad.
- 43 Ninja Challenge 2 solution: the Pad widget Google Fonts in the AppBar, a stateful Pad and initState 7 min
09 Layouts, Gesture and animations: Landing Page Web (Portfolio) flutter_svg for sharp social icons, then url_launcher to open their links.
- 77 SVG icons with flutter_svg Drawer name and a sharp Instagram icon with SvgPicture.asset 9 min
- 78 Opening links with url_launcher An Instagram icon button and a reusable link function 7 min
17 Add data to Firestore using Flutter: Contact page: Flutter Portfolio logger in place of print, so test output stays out of the released app.
- 133 Replace print with the logger package Keep test output out of the released app with logger.d 5 min
22 Budget App using Flutter Riverpod and MVVM architecture sign_button for the Google button, then google_sign_in on phones beside a pop-up on the web.
- 176 Creating the Google Sign-In button The sign_button package and kIsWeb to pick web or mobile 3 min
- 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
24 Flutter Networking: Build Robust Apps with API Integration Dio sends a GET request to a practice back end and prints the response, status code and headers.
- 221 A Dio GET request that prints comments JSONPlaceholder data, status code and headers in the console 21 min
Instructors
Who teaches it.
Instructor, Flutter
Paulina Knop
Flutter developer and curriculum designer. Teaches the Flutter course.
Questions
Asked before starting.
Where can I learn to choose and use packages from pub.dev?
The Complete Flutter Course: Build Android, iOS and Web Apps from Coding Liquids teaches it by doing: it checks a package on pub.dev before adding audioplayers, then puts more to work as each app needs them, from Google Fonts and flutter_svg to url_launcher, logger, the sign-in packages and Dio. This guide gathers 9 lessons (1 hour 7 minutes) where a package is chosen, added to pubspec.yaml and used. It is not for someone who wants to write or publish a package of their own.
How do I judge whether a pub.dev package is safe to depend on?
Read the signals pub.dev shows before adding it: likes from other developers, pub points for documentation, platform support, static analysis and up-to-date dependencies, the download count, whether the publisher is verified, and how recently it was released. Then check it supports every platform your app targets. The Complete Flutter Course: Build Android, iOS and Web Apps checks a package on pub.dev at Lesson 40, before adding audioplayers to My Dashatar.
Which packages does the course put to work?
A practical set, each where an app needs it: flutter_launcher_icons, audioplayers, Google Fonts, flutter_svg, url_launcher, logger, sign_button, google_sign_in and Dio, along with Firebase's own packages, Provider, Riverpod and flutter_bloc for state and architecture. The Complete Flutter Course: Build Android, iOS and Web Apps adds each one through pubspec.yaml and shows it working in a real app.
Why do some packages go under dev_dependencies instead of dependencies?
Because they are tools you run while developing, not code the app needs when it runs, so they stay out of the build you ship. The Complete Flutter Course: Build Android, iOS and Web Apps meets the difference at Lesson 18, where flutter_launcher_icons goes under dev_dependencies to generate My Dashatar's launcher icons, while audioplayers and the other packages the app calls at run time go under dependencies.
Will I write a package or plugin of my own?
No. The Complete Flutter Course: Build Android, iOS and Web Apps uses packages from pub.dev but does not teach writing, publishing or maintaining a package or plugin of your own, nor the platform code a plugin needs. The nearest it comes is shared widgets and functions inside each app, which is often the first step towards a package.
What if a package has changed since a lesson was recorded?
Check its page on pub.dev, where the changelog and example show the current way. Some packages in The Complete Flutter Course: Build Android, iOS and Web Apps have moved on since their lessons: google_sign_in has changed how sign-in starts on phones and uses a button drawn by Google's library on the web, Riverpod lists the ChangeNotifierProvider its lessons use as legacy, and url_strategy is discontinued, since Flutter can remove the hash from web addresses itself.
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
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
- Dart or JavaScript
- Flutter or Ionic
- Flutter or .NET MAUI
- VS Code or Android Studio