Learn Dart the Hard Way
Learn Dart the Hard Way
$4.99
Minimum price
$14.99
Suggested price
Learn Dart the Hard Way

This book is 100% complete

Completed on 2019-05-02

About the Book

Dart is familiar to many existing developers, thanks to the object orientation and syntax familiarity with other object oriented programming languages, such as Python, C++, C#, or Java. If you are a seasoned programmer, you can be productive with Dart in just a few days.

A Few Words About DART IDE

1. Why Dart Language?

2. Learning Dart from Scratch: Variables, Operators and Conditionals, Control Flow

Variables Store References

Built in Types in Dart

Suppose, You don’t like Variables

More about built-in types

Play with Number and Double

Understanding Strings

To be True or to be False

Introduction to Collections: Arrays are Lists in Dart

Get, Set and Go

Operators are Useful

Equality and relational operators

Type test operators

Assignment operators

Summery of the First Part

2.1. Control the flow of your code

If and Else

Conditional Expression

2.2 Looking at Looping

For Loops

While and Do-While

Patterns in Looping

For Loop Labels

Continue with For Loop

Decision making with Switch and case

3. Functions and Objects

A Short Introduction to Function

A Short Introduction to Objects

3.1. Digging Deep into Object Oriented Programming

Why we need Constructors

How to implement Classes

How Functions or Methods Work

Lexical Scope in Function

A few words about Getter and Setter

Different types of Parameters

More about Constructors

4. Inheritance and Mixins in Dart

Mixins: Adding more Features to a Class

5. Abstract Class and Methods

6. Advantage of Interfaces

7. Static Variables and Methods

8. Anonymous Functions: Lambda, Higher Order Functions, and Lexical Closures

Lambda: The Anonymous Function

Exploring Higher Order Functions

Closure is a Special Function

9. Data Structures and Collections

Lists: Fixed Length and Growable

Set: An Unordered Collections of Unique Items

Maps: the Key, Value Pair

Queue is Open-Ended

10. Callable Classes

11. Exception Handling

12. Dart Packages and Libraries

13. What Next

About the Author

Sanjib Sinha
Sanjib Sinha

Sanjib Sinha is a certified “.NET Windows and Web Developer”, specializing in Python, Security Programming, PHP, Dart, Java; he won Microsoft's Community Contributor Award in 2011. As a published author, Sanjib Sinha has written “Beginning Ethical Hacking with Kali Linux”, “Beginning Ethical Hacking with Python”, and “Beginning Laravel” for Apress.

Table of Contents

  • About the Author
  • Acknowledgments
  • Who should read this book?
  • A Few Words About DART IDE
  • 1. Why Dart Language?
  • 2. Learning Dart from Scratch: Variables, Operators and Conditionals, Control Flow
    • Variables Store References
    • Built in Types in Dart
    • Suppose, You don’t like Variables
    • Play with Number and Double
    • Understanding Strings
    • Introduction to Collections: Arrays are Lists in Dart
    • Get, Set and Go
    • Summery of the First Part
  • 2.1. Control the flow of your code
    • If and Else
    • Conditional Expression
  • 2.2 Looking at Looping
    • For Loops
    • While and Do-While
    • Patterns in Looping
    • For Loop Labels
    • Continue with For Loop
    • Decision making with Switch and case
  • 3. Functions and Objects
    • A Short Introduction to Function
    • A Short Introduction to Objects
  • 3.1. Digging Deep into Object Oriented Programming
    • How to implement Classes
    • How Functions or Methods Work
    • Lexical Scope in Function
    • A few words about Getter and Setter
    • Different types of Parameters
    • More about Constructors
  • 4. Inheritance and Mixins in Dart
    • Mixins: Adding more Features to a Class
  • 5. Abstract Class and Methods
  • 6. Advantage of Interfaces
  • 7. Static Variables and Methods
  • 8. Anonymous Functions: Lambda, Higher Order Functions, and Lexical Closures
    • Lambda: The Anonymous Function
    • Exploring Higher Order Functions
  • 9. Data Structures and Collections
    • Lists: Fixed Length and Growable
    • Set: An Unordered Collections of Unique Items
    • Maps: the Key, Value Pair
    • Queue is Open-Ended
  • 10. Callable Classes
  • 11. Exception Handling
  • 12. Dart Packages and Libraries
  • 13. What Next

The Leanpub 45-day 100% Happiness Guarantee

Within 45 days of purchase you can get a 100% refund on any Leanpub purchase, in two clicks.

See full terms

Free Updates. Free App. DRM Free.

If you buy a Leanpub book, you get free updates for as long as the author updates the book! Many authors use Leanpub to publish their books in-progress, while they are writing them. All readers get free updates, regardless of when they bought the book or how much they paid (including free).

Most Leanpub books are available in PDF (for computers), EPUB (for phones and tablets), MOBI (for Kindle) and in the free Leanpub App (for Mac, Windows, iOS and Android). The formats that a book includes are shown at the top right corner of this page.

Finally, Leanpub books don't have any DRM copy-protection nonsense, so you can easily read them on any supported device.

Learn more about Leanpub's ebook formats and where to read them

Write and Publish on Leanpub

Authors, publishers and universities use Leanpub to publish amazing in-progress and completed books and courses, just like this one. You can use Leanpub to write, publish and sell your book or course as well! Leanpub is a powerful platform for serious authors, combining a simple, elegant writing and publishing workflow with a store focused on selling in-progress ebooks. Leanpub is a magical typewriter for authors: just write in plain text, and to publish your ebook, just click a button. It really is that easy.

Learn more about writing on Leanpub