The Leanpub 60 Day 100% Happiness Guarantee
Within 60 days of purchase you can get a 100% refund on any Leanpub purchase, in two clicks.
See full terms...
Kick off your book project in 2 hours, get started with GhostAI in 2 hours, or do both! Free live workshops, on Zoom. You’ll leave with a real book project and a clear plan to keep going. Saturday, June 27, 2026.
This book is no longer available for sale.
The fundamental programming language to build native iOS and Android mobile apps in Flutter
Developers at Google and elsewhere use Dart to create high-quality, mission-critical apps for iOS, Android, and the web. This book aims at complete beginners to learn Dart.
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
1 / 3
About the Author
It's my personal space where I write books. Fiction, non-fiction both.
I have written a few books of which six books (on technology) have been published by Apress. Others are self-published through Leanpub, Amazon and Google Books. Some of them are fiction.
If youhave any query about my books, feel free to write me either at sanjib12sinha@gmail.com, or at sanjibdebsinha@gmail.com.
Also by the Author
Beginning Flutter 3.0 with Dart
State in Flutter
Better Flutter
Discrete Mathematical Algorithm, and Data Structure
Build 10 Flutter 3.0 Apps in 100 Days
PHP 7 : Intensive Coding Bootcamp For One Month to Create a PHP Framework
PHP 8 : Intensive and Complete Coding Bootcamp For Two Months, Designed for Absolute Beginners
Laravel 5.7.* All Model Relations Explained
Object Oriented Design Patterns in PHP 8
Mastering Algorithm and Data Structure
JAVA INTENSIVE CODING BOOTCAMP: LEARN LANGUAGE BASICS AND ALGORITHM
PHP 7 : Intensive Coding Bootcamp For Intermediate Learners to Create a PHP Framework
Elementary Dart and Flutter for Beginners
Dart : Learn Dart Well to Build Native iOS and Android Mobile Applications in Flutter
Laravel 5.7.*: Middleware, Authentication, Authorization Explained
The Completed PHP 8 Bootcamp: Beginner to Pro
PHP 8 Standard Library
Learn Python the Simple Way
Within 60 days of purchase you can get a 100% refund on any Leanpub purchase, in two clicks.
See full terms...
We pay 80% royalties on purchases of $7.99 or more, and 80% royalties minus a 50 cent flat fee on purchases between $0.99 and $7.98. You earn $8 on a $10 sale, and $16 on a $20 sale. So, if we sell 5000 non-refunded copies of your book for $20, you'll earn $80,000.
(Yes, some authors have already earned much more than that on Leanpub.)
In fact, authors have earned over $15 million writing, publishing and selling on Leanpub.
Learn more about writing on Leanpub
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) and EPUB (for phones, tablets and Kindle). 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
You can use Leanpub to easily write, publish and sell in-progress and completed ebooks and online courses!
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. (Or, if you are producing your ebook your own way, you can even upload your own PDF and/or EPUB files and then publish with one click!) It really is that easy.