Quick Start Guide to Dart Programming: Create High-Performance Applications for the Web and Mobile

  • 1h 48m
  • Sanjib Sinha
  • Apress
  • 2020

Get started with Dart and learn to program with this language suitable for high-performing, modern applications. You'll gain the basics and be ready to move to the next level: web and mobile apps. While you won't learn the specifics of programming web and mobile apps, you will have the foundation to take your Dart skills in that direction.

This book starts with an introduction to the Dart IDE, after which you will take a look at the various components of the Dart programming language. You will look at types and variables, and get to know the significance of collections and arrays in Dart. Once you've familiarized yourself with the initial components of Dart, you will see how flow of control and looping can be achieved by using if, else, and conditional expressions. Moving on to functions and objects, you will dig deeper into the concepts of object oriented programming to gauge the importance of constructors in Dart. You will then discover more about inheritance and mixins, seeing how they contain methods for use by other classes.

After gauging the importance of abstract classes and methods, you will learn more about anonymous functions such as lambdas and closures. You will then take a look at key data structures including lists and maps to aid you in organizing your information for storage and retrieval. After all this you’ll move on to managing exceptions arising from executing your program. Finally, Dart programming relies heavily on libraries to perform a variety of functions. You will cover some of these packages and libraries, including dart:core and dart:math, and also build a backend server with the help of the Dart core libraries.

What You Will Learn

  • Use variables and conditionals in Dart
  • Work with arrays and collections
  • Apply flow control and looping
  • Explore data structures and their use
  • Handle exceptions
  • Use Dart packages and libraries to build a backend server

Who This Book Is For

Those new to Dart programming who aim to get a quick introduction to its concepts and programming principles. Readers with no coding experience can also take advantage of this book.

About the Author

Sanjib Sinha is an author and tech writer. Being a certified .NET Windows and web developer, he has specialized in Python security programming, Linux, and many programming languages that include C#, PHP, Python, Dart, Java, and JavaScript. Sanjib also won Microsoft's Community Contributor Award in 2011 and he has written Beginning Ethical Hacking with Python, Beginning Ethical Hacking with Kali Linux, Bug Bounty Hunting for Web Security, and two editions of Beginning Laravel for Apress.

In this Book

  • Getting Started with Dart
  • Flow Control and Looping
  • Functions and Objects
  • Inheritance and Mixins in Dart
  • Entity Relationships: Abstract Classes, Interfaces, and Exception Handling
  • Anonymous Functions
  • Data Structures and Collections
  • Multithreaded Programming Using Future and Callable Classes
  • Dart Packages and Libraries