Code, Exercises & Syllabus for my Complete Dart Course

Related tags

Templates dart flutter
Overview

Dart Course | Code With Andrea

This repo contains all the exercises and solutions from my Dart Course.

Course Contents

Course Syllabus

1. Introduction

  1. Making the most of this course
  2. Introduction to Dart
  3. Introduction to Dartpad

2. Dart Basics

  1. Section Intro
  2. The main method
  3. Hello world
  4. Variable declaration and initialization
  5. Basic types
  6. Exercise: printing variables
  7. String Concatenation & Interpolation
  8. Exercise: String interpolation
  9. String Escaping
  10. Multi-line strings
  11. Basic String operations: uppercase and lowercase
  12. Initialization vs Assignment
  13. Exercise: Lowercase and uppercase strings
  14. Finding and replacing strings
  15. Conversions between types
  16. Arithmetic operators
  17. Exercise: temperature conversion
  18. Increment & decrement operators
  19. Logical & Relational operators
  20. Ternary conditional operator
  21. Hex format, bitwise & shifting operators
  22. Comments
  23. Expressions & statements

3. Dart type system

  1. Section Intro
  2. Static vs Dynamic Languages
  3. Type inference with var
  4. The final keyword
  5. The const keyword
  6. Exercise: var, final and const
  7. The dynamic keyword

4. Control flow

  1. Section Intro
  2. If/else statements
  3. Exercise: if/else statements
  4. while loops
  5. for loops
  6. Exercise: fizz buzz
  7. break and continue
  8. switch statements
  9. enumerations
  10. Exercise: simple calculator

5. Project: Building a command line app

  1. Section intro
  2. Installing the Dart SDK
  3. Installing and configuring VS Code
  4. Project Brief: Rock, Paper & Scissors
  5. Creating a command line app
  6. Pseudocode for the game logic
  7. Getting use input with stdin from dart:io
  8. Implementing the game loop
  9. Implementing the game logic

6. Collections

  1. Section Intro
  2. Lists
  3. Exercise: Sum of the items in a list
  4. List methods
  5. Type annotations with lists
  6. Using var, final, const with lists
  7. Sets
  8. Exercise: Sets
  9. Maps
  10. The as operator
  11. The null value
  12. Iterating on maps
  13. Exercise: Pizza Ordering
  14. Nested Collections
  15. Exercise: Restaurant ratings
  16. Collection-if
  17. Collection-for
  18. Spreads
  19. Exercise: Shopping List
  20. Copying collections

7. Project: Data Processing in Dart

  1. Section Intro
  2. Parsing command line arguments
  3. Reading files line by line
  4. Pseudocode for the processing logic
  5. Implementing the processing logic

8. Dart Null Safety

  1. Introduction to Null Safety
  2. Nullable and non-nullable variables
  3. Flow Analysis: Promotion and Definite Assignment
  4. The assertion operator
  5. The if-null operator
  6. Null Safety with type inference
  7. Null Safety with collections
  8. The conditional access operator & the billion dollar mistake

9. Functions: Basics

  1. Section Intro
  2. Intro to functions
  3. Function arguments
  4. Return values
  5. Exercise: Sum of a list of numbers
  6. Named and positional arguments
  7. Required and default values
  8. Default positional arguments
  9. Exercise: Pizza ordering with functions
  10. Fat arrow notation
  11. The global and local scope
  12. Inner Functions
  13. Global mutable state and functions with side effects

10. Functions: Advanced

  1. Section Intro
  2. Anonymous functions
  3. Functions as first class objects
  4. Function types
  5. Closures
  6. The forEach method
  7. The map method
  8. Iterable and toList()
  9. Code reuse with anonymous functions and generics
  10. The where and firstWhere methods
  11. Exercise: Implement the where function
  12. Exercise: Implement the firstWhere function
  13. The reduce method
  14. Combining functional operators

11. Classes: Basics

  1. Section Intro
  2. Introduction to classes
  3. Instance methods
  4. Class constructors and the this keyword
  5. Initializer lists and the shorthand syntax
  6. Classes with immutable members
  7. Exercise: Creating a Person class
  8. Type safety with classes
  9. const constructors
  10. Named constructors
  11. Named constructors: temperature example
  12. Getters and setters
  13. Exercise: Restaurant ratings with classes
  14. Static methods and variables
  15. Private variables and methods
  16. Wrap up

12. Classes: Advanced

  1. Section Intro
  2. VS Code Dart Setup with Null Safety
  3. Introduction to inheritance / subclassing
  4. The super constructor
  5. Overriding methods
  6. Abstract classes
  7. Exercise: Area and Perimeter
  8. Interfaces and the difference between implements and extends
  9. The base Object class
  10. The toString() method
  11. The equality operator and the covariant keyword
  12. Exercise: Implement the + and * operators
  13. Overriding hashCode and the Equatable package
  14. Using classes with generics
  15. Composition vs inheritance: Flutter widget hierarchy example
  16. Factory constructors and reading JSON data
  17. Exercise: JSON Serialization
  18. Copying objects with copyWith
  19. The cascade operator

13. Project: Simple eCommerce

  1. Simple eCommerce store: Overview
  2. Creating the Product, Item, Cart classes
  3. Adding the interactive prompt
  4. Adding items to the cart
  5. Checkout functionality
  6. Project structure and wrap-up

14. Mixins & Extensions

  1. Section Intro
  2. Creating and using mixins
  3. Mixins: Drawbacks
  4. Extensions
  5. Extensions with generic type constraints
  6. Exercise: Range extension

15. Error Handling & Exceptions

  1. Section Intro
  2. Errors vs Exceptions
  3. Assertions
  4. Exceptions: throw, try, catch, finally, rethrow
  5. Exercise: Email validation

16. Async Programming

  1. Section Intro
  2. Futures, then, catchError, whenComplete
  3. async and await
  4. Future.value and Future.error
  5. Exercise: Countdown with Futures
  6. Streams
  7. Stream generators: async* and yield
  8. Exercise: Fizz-buzz with streams
  9. Stream constructors
  10. Stream methods
  11. Single / multiple subscription streams

17. Weather App

  1. Weather App Overview
  2. REST API Basics
  3. Creating the command-line app
  4. Creating a Weather API Client with the Dart http package
  5. Reading the response status code and data
  6. Completing the Weather API client
  7. Parsing JSON Data
  8. Error Handling and Wrap up

18. Conclusion & Next Steps

  1. BONUS Content: Free Dart eBook & Next Steps

LICENSE: MIT

You might also like...

Starter code for the Clima Project from the Complete Flutter Development Bootcamp

Starter code for the Clima Project from the Complete Flutter Development Bootcamp

Clima ☁ Our Goal The objective of this tutorial is to learn about asynchronous programming in Dart. We'll look at how to carry out time consuming task

Dec 10, 2022

Learn to Code While Building Apps - The Complete Flutter Development Bootcamp

Learn to Code While Building Apps - The Complete Flutter Development Bootcamp

Quizzler ❓ Our Goal In this tutorial we will be reviewing Stateful and Stateless Widgets as well as learning about the fundamental building blocks of

Dec 31, 2022

Introductory course to learn Dart/Flutter

Flutter Workshop About Introductory course to learn mobile development using Dart/Flutter. The course is structured to allow you to select the content

Dec 17, 2022

Receitas app - Recipe app jointly developed by Cod3r on Flutter & Dart course

Receitas app - Recipe app jointly developed by Cod3r on Flutter & Dart course

Let's cook? Aplicativo de receitas desenvolvido em conjunto a Cod3r dentro do cu

Dec 22, 2022

Dart Alura Course First Steps with Language

 Dart Alura Course First Steps with Language

Dart: primeiros passos com a linguagem This repository contains all the files de

Nov 23, 2022

Pdfium_bindings - This project aims to wrap the complete Pdfium API in dart, over FFI

Pdfium_bindings - This project aims to wrap the complete Pdfium API in dart, over FFI

Oct 22, 2022

Creating complete social media app like instagram, facebook using flutter dart.

instoo The social media application that allows user to check out new feed, like, comment and even check other user’s profile. It has search, follow,

Dec 1, 2022

All projects from my Flutter Animations Course

All projects from my Flutter Animations Course

Flutter Animations Course | Code With Andrea This repo contains all the projects from my Flutter Animations Course. The main project for this course i

Dec 30, 2022

App that simulates a flow of screens for the course of navigation and routes with nuvigator through Flutter

App that simulates a flow of screens for the course of navigation and routes with nuvigator through Flutter

Rotas app App que simula um fluxo de telas para o curso de navegação e rotas com

Dec 19, 2021
Comments
  • Update 10.11-implement-where-function.dart

    Update 10.11-implement-where-function.dart

    In the previous code, we've got this error message : "The operator '%' can't be unconditionally invoked because the receiver can be 'null'. Try adding a null check to the target ('!').dart(unchecked_use_of_nullable_value)". I found a simple a solution : typing "value" with int.

    opened by TristerosEmpire 0
Owner
Andrea Bizzotto
Flutter GDE ❖ Creator of codewithandrea.com ❖ YouTube: nnbd.me/yt ❖ Complete Dart Course: nnbd.me/dart
Andrea Bizzotto
An Application built for students to access Notes , Question Papers , Syllabus and Resources for all Subjects of O.U (Osmania University) using Flutter 📘👨‍🎓

OU Notes [Osmania University (O.U)] . For the Students , By the Students. An Application for Osmania University students to access educational materia

Abdul Malik 212 Nov 20, 2022
A comprehensive flutter/dart tutorial with setup instructions and learning exercises.

flutter-tutorial A comprehensive flutter/dart tutorial with setup instructions and learning exercises. Setup Folder: https://drive.google.com/drive/u/

Eduardo Piccin 1 Oct 21, 2022
Udemy Course "Dart and Flutter: The Complete Developer's Guide" Project. (With Hive DB)

Udemy-Course-Flutter Udemy Course "Dart and Flutter: The Complete Developer's Guide" Project. (With Hive DB) The course: https://www.udemy.com/course/

Muhammad Tayyab 1 Jun 11, 2022
Flutter-course - Projects of the course to learn Flutter!

?? Flutter Course Projects of the course to learn Flutter! ?? What is it? Repo with all projects made during the Flutter Course provided by Daniel Cio

Alícia Foureaux 1 Jan 3, 2022
Flutter course chatapp - A Flutter Course Chat App Starter

flutter_course_chat_app_starter Getting Started Firebase installations 1- Open F

Dhari 0 Jan 5, 2022
School Project to complete a course,uses a python backend and a flutter frontend

hit_400_app Getting Started This project is a starting point for a Flutter application. #Run flutter packages get #Run the python main.py after instal

null 0 Dec 28, 2021
A flutter plugin about qr code or bar code scan , it can scan from file、url、memory and camera qr code or bar code .Welcome to feedback your issue.

r_scan A flutter plugin about qr code or bar code scan , it can scan from file、url、memory and camera qr code or bar code .Welcome to feedback your iss

PengHui Li 112 Nov 11, 2022
This repository is meant to save all the code I may write about this course.

COD3R - Aprenda Flutter & Dart e Construa APPs iOS e Android ?? Idea: This repository is meant to save all the code and projects I may write with this

Amanda Cleto 2 Mar 9, 2022
Learn to Code While Building Apps - The Complete Flutter Development Bootcamp

BMI Calculator ?? Our Goal The objective of this tutorial is to look at how we can customise Flutter Widgets to achieve our own beautiful user interfa

London App Brewery 146 Jan 1, 2023
Starter code for the Dicee project in the Complete Flutter Bootcamp

Dicee ?? Our Goal The objective of this tutorial is to introduce you to the core programming concepts that will form the foundation of most of the app

London App Brewery 190 Dec 31, 2022