• Stars
    star
    325
  • Rank 125,019 (Top 3 %)
  • Language
    Dart
  • License
    MIT License
  • Created almost 4 years ago
  • Updated over 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Code, Exercises & Syllabus for my Complete Dart Course

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

More Repositories

1

SwiftyStoreKit

Lightweight In App Purchases Swift framework for iOS 8.0+, tvOS 9.0+ and macOS 10.10+ ⛺
Swift
6,461
star
2

flutter-tips-and-tricks

My Flutter Tips & Tricks on Twitter 👇
Dart
1,783
star
3

starter_architecture_flutter_firebase

Time Tracking app with Flutter & Firebase
Dart
1,551
star
4

layout-demo-flutter

Super Useful Flutter Layouts - Right in Your Pocket. 😉
Dart
1,333
star
5

complete-flutter-course

Flutter Foundations Course - eCommerce App
Dart
747
star
6

flutter_example_apps

A directory of all my open source Flutter apps and projects.
711
star
7

firebase_auth_demo_flutter

Reference Authentication Flow with Flutter & Firebase
Dart
667
star
8

nested-navigation-demo-flutter

Nested navigation with BottomNavigationBar
Dart
604
star
9

movie_app_state_management_flutter

Flutter State Management: Movie App with Provider, Riverpod, flutter_bloc
Dart
536
star
10

time_tracker_flutter_course

Source code for every lesson in the "Flutter & Firebase: Build a Complete App for iOS & Android" course on Udemy
Dart
405
star
11

bottom_bar_fab_flutter

BottomAppBar Navigation with FAB
Dart
281
star
12

open_weather_example_flutter

Flutter Weather App Example using the OpenWeatherMap API
Dart
277
star
13

flutter_animations_course_materials

All projects from my Flutter Animations Course
Dart
235
star
14

MVCarouselCollectionView

UICollectionView-based image carousel written in Swift
Swift
205
star
15

fluttercon_23_resources

List of talks from FlutterCon 23
205
star
16

tmdb_movie_app_riverpod

Flutter Movies app with Riverpod (TMDB API)
Dart
193
star
17

Sustainable-Earth

A curated list of all things sustainable
Ruby
186
star
18

coding-with-flutter-login-demo

Source code for login demo in Coding with Flutter series
Dart
167
star
19

firebase_user_avatar_flutter

Advanced Provider Architecture Demo: Image Picker + Firebase Storage Upload
Dart
154
star
20

flutter_animations_gallery

A showcase of the most common Flutter animation APIs.
Dart
151
star
21

stopwatch-flutter

Simple stopwatch example app in Flutter
Dart
139
star
22

multiple-counters-flutter

Flutter State Management [ setState ❖ StreamBuilder ❖ scoped_model ❖ redux ]
Dart
132
star
23

coronavirus_rest_api_flutter_course

Coronavirus REST API Flutter Course
Dart
120
star
24

codewithandrea_flutter_packages

A collection of packages created to increase code reuse across many of my Flutter projects.
Dart
118
star
25

slivers_demo_flutter

Example Layouts with Slivers in Flutter
Dart
107
star
26

firebase-login-flutter

Sample login and registration app with Firebase built in Flutter.
Dart
104
star
27

MVSelectorScrollView

Simple scrollable horizontal control, alternative to UISegmentedControl
Objective-C
103
star
28

nested_navigation_examples

Bottom Navigation Bar with Nested Routes: GoRouter vs Beamer
95
star
29

simple_auth_flutter_riverpod

Simple authentication flow using Flutter & Riverpod
Dart
90
star
30

flutter-firebase-masterclass

Flutter & Firebase Masterclass
Dart
86
star
31

AcceptanceMark

Tool for generating Acceptance Tests in Xcode, inspired by Fitnesse
Swift
65
star
32

flight_co2_calculator_flutter

Flutter package and sample app to calculate Flight CO2 emissions
Dart
57
star
33

code_with_andrea_flutter

Code With Andrea Home Page - Flutter Clone
Dart
53
star
34

CrackingTheCodingInterview

Solutions to exercises from the book "Cracking the Coding Interview"
Swift
49
star
35

image-picker-demo-flutter

Photos and Camera Image Picker built in Flutter
Dart
48
star
36

localization_riverpod_flutter

Simplified localization app template
Dart
46
star
37

split_view_example_flutter

Flutter Split View and Drawer Navigation example
Dart
45
star
38

page_flip_builder

Interactive Page Flip Flutter widget
Dart
44
star
39

MVHorizontalPicker

Simple scrollable horizontal control, alternative to UISegmentedControl
Swift
43
star
40

github_search_flutter_client_rxdart_example

Example GitHub Search app built in Flutter & RxDart
Dart
42
star
41

apple_sign_in_firebase_flutter

Demo app showing how to implement Apple Sign In with Firebase & Flutter
Dart
37
star
42

simple_auth_comparison_flutter

Flutter State Management Comparison: [ setState ❖ BLoC ❖ ValueNotifier ❖ Provider ]
Dart
35
star
43

input_validation_demo_flutter

Flutter: Input Validation with RegExp
Dart
33
star
44

fitness_tracker_flutter

Fitness Tracker - Flutter UI Demo
Dart
33
star
45

platform_aware_widgets_flutter

Example project showing how to create platform-aware widget classes in Flutter.
Dart
32
star
46

json_placeholder_flutter_example

Riverpod data caching and CRUD example with the JsonPlaceholder API
Dart
30
star
47

MVBouncyView

UIView category to add bouncing animations to your UIViews
Objective-C
28
star
48

async_notifier_example_riverpod

AsyncNotifier example with Riverpod
C++
27
star
49

restaurant_ratings_flutter_firebase

Restaurant In-App Rating Demo App with Flutter & Firebase
Dart
27
star
50

pushable_button

A 3D pushable button built in Flutter. Ideal for important CTAs in the app.
Dart
27
star
51

passwordless_sign_in_firebase_flutter

Passwordless sign-in with Flutter and Firebase
Dart
24
star
52

ncov2019-api-and-webclient

nCoV 2019 Backend REST API and Admin Web Client
Dart
21
star
53

MVScrollViewAutoLayout

Example iOS project showing how Auto-Layout can calculate the contentSize of a UIScrollView for you based on the constraints of the scroll view’s subviews.
Objective-C
20
star
54

MVMediaSlider

Custom media slider inspired by the Overcast App
Swift
18
star
55

faker_app_flutter_firebase

Demo project for the first module of my Flutter & Firebase Masterclass
C++
16
star
56

rxdart_combine_latest_example_movie_app

Simple movie favourites app showcasing how to use combineLatest to combine data from two Firestore collections into one stream.
Dart
15
star
57

redux-navigation-color-picker

Code for "Managing State in a React-Navigation App with Redux" tutorial
JavaScript
15
star
58

bmi_calculator_app_flutter

Simple BMI Calculator Flutter App
Dart
14
star
59

game_of_life_flutter

Game Of Life Flutter Demo
Dart
13
star
60

OAuthRequestBuilderSwift

OAuth Authentication with Custom Headers in Swift
Swift
13
star
61

ResponsiveCollectionViews

Demo app showing how to make UICollectionViews responsive to trait collection changes
Swift
13
star
62

convert-srt-vtt

Bash script to convert closed captions from SRT to VTT format
Shell
13
star
63

firebase-example-flutter

Sample Firebase anonymous auth with Flutter
Dart
13
star
64

flutter_simple_permissions

Swift
12
star
65

mood_tracker_flutter

Super easy mood tracking app to demonstrate use of the Firebase Local Emulator Suite
Dart
12
star
66

SudokuSolver

JSON Android Sudoku Solver
Java
10
star
67

dart_json_parsing_examples

JSON Parsing examples in Dart
Dart
10
star
68

contacts_list_demo_flutter

Sample contact list page built in Flutter and iOS
Swift
10
star
69

MVFeedbackBanner

Customisable banner UI to ask for user feedback / app rating
Swift
9
star
70

flutter_web_apps_template

Flutter Web + GitHub Pages templates
Makefile
8
star
71

ITunesSearch.js

Javascript client for App Store Lookup based on iTunes Search API
JavaScript
7
star
72

coding-with-flutter-robohash-demo

Sample Flutter app showing an avatar image with the RoboHash API.
Dart
7
star
73

flutter_firestore_counter_app

Dart
6
star
74

openai_dart_shelf_flutter

OpenAI + Dart Shelf + Flutter Demo
C++
6
star
75

simple_auth_flutter_firebase_ui

Minimal authentication flow with Flutter & Firebase Auth
C++
5
star
76

faker_app_firebase

Simple Flutter app showing how to use the Firebase UI packages
C++
5
star
77

multiple_counters_firestore_flutter

Multiple Counters Flutter App with Cloud Firestore
Dart
5
star
78

flutter-firebase-ecommerce-docs

4
star
79

ncov_2019_app_flutter

Coronavirus REST API Flutter Course (demo app before recordings)
Dart
4
star
80

image_upload_flutter_firebase

Flutter image upload demo with Firebase Storage
C++
3
star
81

OGLESCubeTestAPI

Android Test for ES API 1.0 and 2.0
Java
3
star
82

MVKerningLabel

UILabel subclass with kerning support via @IBInspectable property
Swift
2
star
83

MVCoreDataStack

Core Data Parent-Child Stack for iOS 8 and 9
Swift
2
star
84

dart-null-safety-package-name-issue

Null Safety only works if package name is `test`
Dart
2
star
85

firebase_id_token_bug

Ruby
2
star
86

redux-navigator-react

Example app combining redux with react-navigation
JavaScript
2
star
87

SwiftyStoreDemo

Example app for iOS, tvOS showing how to retrieve products info with StoreKit
Swift
2
star
88

astro-vercel-serverless-bug

Astro
1
star
89

PopSpringViews

Helper classes to enable Facebook POP spring animations on UIViews
Swift
1
star
90

Xcode-xcarchive-command

Xcode xcarchive command to archive to custom location
Shell
1
star
91

firebase_ui_auth_widget_tests_bug

C++
1
star
92

biz-engine

OpenGL 2.0 Graphics engine + SDK
C++
1
star
93

MVITunesSearch

Simple wrapper library for the iTunes Search API to search for apps by developer ID
Objective-C
1
star