# Master Flutter

> Master Flutter is a free, self-paced course to learn Dart and Flutter by building projects: the Dart language, object-oriented programming, packages, async code and REST APIs, then Flutter layouts, design, interactivity, assets, navigation and plugins.

- URL: https://www.appwriters.dev/courses/master-flutter
- Authors: Damodar Lohani and Ambika Dulal
- Price: free
- Formerly published at https://www.flutterforbeginner.com (paths are unchanged under /courses/master-flutter)

Each lesson explains a topic, links to the best resources on it, and sets projects to build. Chapters 1 to 4 teach Dart; chapters 5 to 10 teach Flutter.

## Chapter 1: [The Dart Basics](https://www.appwriters.dev/courses/master-flutter/ch01-the-dart-basics.md)

Start with the basics of Dart. If you are a beginner spend more time on this chapter.

- [1.1 Introducing Dart](https://www.appwriters.dev/courses/master-flutter/ch01-the-dart-basics/ls01-introducing-dart.md): In this lesson you will just get to know the Dart programming language briefly. If you have never done programming previously, don’t be overwhelmed or intimidated. We have further guides and lessons to prepare you. Just spend more time on the first chapter; that way things will get easier the further you go.
- [1.2 Variables and Data Types](https://www.appwriters.dev/courses/master-flutter/ch01-the-dart-basics/ls02-variables-and-data-types.md): In this lesson, you will learn about variables and data types in Dart. You will also learn how to declare and initialize variables and how to use them in your programs.
- [1.3 Standard Input/Output](https://www.appwriters.dev/courses/master-flutter/ch01-the-dart-basics/ls03-standard-io.md): In this lesson, you will go over Dart's standard input and output. You will learn how to accept user input and display output in various formats.
- [1.4 Strings in Dart](https://www.appwriters.dev/courses/master-flutter/ch01-the-dart-basics/ls04-strings-in-dart.md): Strings are one of the most important data types in programming. In this lesson, you will learn about strings in Dart. You will also learn how to manipulate strings in Dart.
- [1.5 Operators](https://www.appwriters.dev/courses/master-flutter/ch01-the-dart-basics/ls05-operators.md): Operators are an essential part of programming. They enable us to manipulate data in a variety of ways. Dart includes a large number of built-in operators for performing various types of operations. Unary operators take only one operand, whereas binary operators take two operands.
- [1.6 Control Flow](https://www.appwriters.dev/courses/master-flutter/ch01-the-dart-basics/ls06-control-flow.md): Control flow allows you to make decisions and loops in your program. This lesson will teach you to manipulate the flow of execution of your Dart program.
- [1.7 Collections](https://www.appwriters.dev/courses/master-flutter/ch01-the-dart-basics/ls07-collections.md): Dart is a programming language that provides several built-in collections for storing and managing groups of objects. These collections include lists, sets, and maps, which are useful for storing and organizing data in different ways.
- [1.8 Null Safety in Dart](https://www.appwriters.dev/courses/master-flutter/ch01-the-dart-basics/ls08-null-safety.md): Null safety is a Dart programming language feature that prevents null reference exceptions by preventing variables from being null unless explicitly allowed. This is accomplished by using nullable and non-nullable types, which allow developers to specify whether or not a variable can be null.
- [1.9 Functions in Dart](https://www.appwriters.dev/courses/master-flutter/ch01-the-dart-basics/ls09-functions.md): A function in Dart is a block of code that performs a specific task and can be called or invoked from other parts of the program. Functions can take zero or more parameters and can return a value. They are used to organize and modularize code, making it easier to read, maintain, and reuse.
- [1.10 Naming Convention](https://www.appwriters.dev/courses/master-flutter/ch01-the-dart-basics/ls09.1-naming-convention.md): Learn the Effective Dart style guidelines for naming variables, functions, classes and files.
- [1.11 Dart Basics Review](https://www.appwriters.dev/courses/master-flutter/ch01-the-dart-basics/ls10-review.md): Review concepts of basic Dart programming using these questions and projects.

## Chapter 2: [Object Oriented Programming](https://www.appwriters.dev/courses/master-flutter/ch02-object-oriented-programming.md)

Learn the concepts of Object Oriented Programming in Dart. Understanding the concepts of Object Oriented Programming is crucial for learning Flutter.

- [2.1 Introduction to OOP](https://www.appwriters.dev/courses/master-flutter/ch02-object-oriented-programming/ls01-introduction-to-oop.md): Object-oriented programming (OOP) is a programming paradigm based on the concept of "objects," which can contain data in the form of fields, which are commonly referred to as attributes, and code in the form of procedures, which are commonly referred to as methods. A class is an object's blueprint. Class can be compared to a labeled sketch of a parrot. It includes information such as the name, colors, and size.
- [2.2 Principles of OOP](https://www.appwriters.dev/courses/master-flutter/ch02-object-oriented-programming/ls02-principles-of-oop.md): The principles of OOP are designed to make it easier to create complex, modular, and scalable programs by organizing code into small, reusable units called classes. Principles like encapsulation, abstraction, inheritance and polymorphism help to reduce complexity and improve the maintainability and re-usability of code.
- [2.3 Object Oriented Programming Review](https://www.appwriters.dev/courses/master-flutter/ch02-object-oriented-programming/ls03-review.md): Use the following questions to review object-oriented programming concepts in Dart. This is a critical concept to grasp if you want to learn Flutter. If you are having difficulty answering any of the questions, go back over the relevant lessons and resources and try again.

## Chapter 3: [Dependency Management in Dart](https://www.appwriters.dev/courses/master-flutter/ch03-dependency-management.md)

Modern programs are incomplete without dependency management. Learning dependency management is another crucial step in learning Dart and Flutter.

- [3.1 Understanding Dependency Management](https://www.appwriters.dev/courses/master-flutter/ch03-dependency-management/ls01-understanding-dependency-management.md): Dependency management is an integral part of modern programming. It is a process of managing the dependencies of a project. A dependency is a piece of code that is required by the project to run. It can be a library, a framework, a tool, or any other piece of code that is required by the project to run.
- [3.2 Pubspec.yaml](https://www.appwriters.dev/courses/master-flutter/ch03-dependency-management/ls02-pubspec.md): The pubspec.yaml file is the configuration file for the pub tool. The pubspec.yaml file is located in the root of the project and contains information like name, version, dependencies, and more.
- [3.3 Dependency Management Review](https://www.appwriters.dev/courses/master-flutter/ch03-dependency-management/ls03-review.md): Use the following questions to review dependency management concepts.

## Chapter 4: [Asynchronous Programming, REST API and JSON](https://www.appwriters.dev/courses/master-flutter/ch04-asynchronous-programming-rest-api-and-json.md)

Integrating with external services is crucial for modern application development. Start by learning REST API integration.

- [4.1 Introduction to Asynchronous Programming](https://www.appwriters.dev/courses/master-flutter/ch04-asynchronous-programming-rest-api-and-json/ls01-introduction-to-asynchronous-programming.md): Asynchronous programming lets a program start a long-running task and keep doing other work while it waits for the result, instead of blocking. Asynchronous programming is very useful for performing I/O operations, such as accessing the network and accessing the file system. Dart uses Future, Stream, and async/await to implement asynchronous programming.
- [4.2 Introduction to REST API](https://www.appwriters.dev/courses/master-flutter/ch04-asynchronous-programming-rest-api-and-json/ls02-introduction-to-rest-api.md): REST (Representational State Transfer) API is a type of web service that uses the HTTP protocol to allow client applications to access and manipulate data on a server. REST APIs are popular because they are easy to use, scalable, and widely supported by a variety of client applications.
- [4.3 Handling REST API in Dart](https://www.appwriters.dev/courses/master-flutter/ch04-asynchronous-programming-rest-api-and-json/ls03-handling-rest-api-in-dart.md): Learn how to use REST APIs in Dart by creating projects such as Pokemon search, Movie search, and more. You will learn to use the http package and Future, async, and await in Dart.
- [4.4 Parsing JSON](https://www.appwriters.dev/courses/master-flutter/ch04-asynchronous-programming-rest-api-and-json/ls04-parsing-json.md): Learn how to convert JSON data into Dart objects and use them to make your code more readable and maintainable.
- [4.5 Async Programming and REST API Review](https://www.appwriters.dev/courses/master-flutter/ch04-asynchronous-programming-rest-api-and-json/ls05-review.md): Use these questions and projects to review asynchronous programming, REST API, JSON, and how to handle them in Dart.
- [4.6 Dart Programming Review](https://www.appwriters.dev/courses/master-flutter/ch04-asynchronous-programming-rest-api-and-json/ls06-dart-programming-review.md): Review everything you have learned about Dart so far with these questions and projects before moving on to Flutter.

## Chapter 5: [Basics of Flutter](https://www.appwriters.dev/courses/master-flutter/ch05-flutter-basics.md)

Learn the fundamentals of Flutter and how to get started with the Flutter framework.

- [5.1 Hello Flutter](https://www.appwriters.dev/courses/master-flutter/ch05-flutter-basics/ls01-hello-flutter.md): Write your first Flutter app in DartPad, install Flutter and run an app on your own machine.
- [5.2 The Widgets](https://www.appwriters.dev/courses/master-flutter/ch05-flutter-basics/ls02-the-widgets.md): Learn about widgets, the building blocks of every Flutter app, by building simple UIs with Text, Center and Container.
- [5.3 Basic Layout](https://www.appwriters.dev/courses/master-flutter/ch05-flutter-basics/ls03-basic-layout.md): Combine Row, Column, Stack and other layout widgets to build basic Flutter layouts.
- [5.4 Scrolling Layout](https://www.appwriters.dev/courses/master-flutter/ch05-flutter-basics/ls04-scrolling-layout.md): Display more data than fits on one screen using SingleChildScrollView, ListView and other scrolling widgets.

## Chapter 6: [Design](https://www.appwriters.dev/courses/master-flutter/ch06-design.md)

Learn to design cross-platform UI in Flutter.

- [6.1 Basic Material Layout](https://www.appwriters.dev/courses/master-flutter/ch06-design/ls01-basic-material-layout.md): Build a basic app layout following the Material Design guidelines with MaterialApp, Scaffold, AppBar and more.
- [6.2 Styling](https://www.appwriters.dev/courses/master-flutter/ch06-design/ls02-styling.md): Style your widgets with colors, fonts, padding, margins, borders and more.
- [6.3 Themes](https://www.appwriters.dev/courses/master-flutter/ch06-design/ls03-themes.md): Use ThemeData and Material 3 color schemes to change the look and feel of your whole app in one place.

## Chapter 7: [Interactivity](https://www.appwriters.dev/courses/master-flutter/ch07-interactivity.md)

Learn to add interactivity to your Flutter application.

- [7.1 Basic Interactivity](https://www.appwriters.dev/courses/master-flutter/ch07-interactivity/ls01-basic-interactivity.md): Use stateful widgets and setState to make your Flutter apps respond to the user.
- [7.2 Forms](https://www.appwriters.dev/courses/master-flutter/ch07-interactivity/ls02-forms.md): Collect user input with text fields, controllers and form widgets.
- [7.3 Alerts and Dialogs](https://www.appwriters.dev/courses/master-flutter/ch07-interactivity/ls03-alerts-and-dialogs.md): Show alerts and dialogs to give the user a message and ask for their response.

## Chapter 8: [Assets](https://www.appwriters.dev/courses/master-flutter/ch08-assets.md)

Learn to add assets like images, fonts, and other files to enhance your Flutter application.

- [8.1 Images](https://www.appwriters.dev/courses/master-flutter/ch08-assets/ls01-images.md): Add images to your Flutter app as assets and display them in the user interface.
- [8.2 Fonts](https://www.appwriters.dev/courses/master-flutter/ch08-assets/ls02-fonts.md): Use custom fonts in your Flutter app, from font files and from the google_fonts package.
- [8.3 Other Files](https://www.appwriters.dev/courses/master-flutter/ch08-assets/ls03-other-files.md): Bundle JSON and other files as assets and load them in your Flutter app.

## Chapter 9: [Multipage Applications](https://www.appwriters.dev/courses/master-flutter/ch09-multipage-applications.md)

Learn to add multiple pages and handle navigation in your Flutter application.

- [9.1 Navigation](https://www.appwriters.dev/courses/master-flutter/ch09-multipage-applications/ls01-navigation.md): Move between pages with Navigator and named routes.
- [9.2 Passing Data Between Pages](https://www.appwriters.dev/courses/master-flutter/ch09-multipage-applications/ls02-passing-data-between-pages.md): Send data to a new page and get results back using constructors, route arguments and Navigator.pop.

## Chapter 10: [Plugins to Access Native Functionalities](https://www.appwriters.dev/courses/master-flutter/ch10-plugins.md)

Learn to use plugins to access native device functionalities in your Flutter application.

- [10.1 Basics of Plugins](https://www.appwriters.dev/courses/master-flutter/ch10-plugins/ls01-plugins-basic.md): Use your first plugin, path_provider, to save and read files on the device.
- [10.2 More Plugins](https://www.appwriters.dev/courses/master-flutter/ch10-plugins/ls02-more-plugins.md): Pick photos from the gallery and take pictures with the device camera using the image_picker and camera plugins.
