E-Book, Englisch, 218 Seiten, eBook
Sinha Quick Start Guide to Dart Programming
1. Auflage 2019
ISBN: 978-1-4842-5562-9
Verlag: APRESS
Format: PDF
Kopierschutz: 1 - PDF Watermark
Create High-Performance Applications for the Web and Mobile
E-Book, Englisch, 218 Seiten, eBook
ISBN: 978-1-4842-5562-9
Verlag: APRESS
Format: PDF
Kopierschutz: 1 - PDF Watermark
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
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.
Zielgruppe
Professional/practitioner
Autoren/Hrsg.
Weitere Infos & Material
Chapter 01: Getting Started with Dart
• Why Dart Language?• Variables, Operators and Conditionals, Control Flow a. Variables Store References b. Built in Types in Dart c. Suppose, You don’t like Variables d. More about built-in types e. Play with Number and Double f. Understanding Strings g. To be True or to be False h. Introduction to Collections: Arrays are Lists in Dart i. Get, Set and Go j. Operators are Useful k. Equality and relational operators l. Type test operators m. Assignment operators n. Summary of the First Part
Chapter 02: Flow Control and Looping
• Control the flow of your code a. If and Else b. Conditional Expression• Looking at Looping a. For Loops b. While and Do-While c. Patterns in Looping d. For Loop Labels e. Continue with For Loop f. Decision making with Switch and case
Chapter 03: Functions and Objects
• Introduction• Digging Deep into Object Oriented Programming a. Why we need Constructors b. How to implement Classes c. How Functions or Methods Work d. Lexical Scope in Function e. A few words about Getter and Setter f. Different types of Parameters g. More about Constructors
Chapter 04: Inheritance and Mixins in Dart• Mixins• Adding more Features to a Class
Chapter 05: Abstract Class and Methods• Interfaces• Static variables and methods
Chapter 06: Anonymous Functions• Lambda• Exploring Higher Order Functions• Closure is a Special Function
Chapter 07: 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
Chapter 08: Callable Classes and Exception Handling• Implementing the call() function• Handling Exceptions
Chapter 09: Dart Packages and Libraries• Dart:core• Dart:math• What’s Next




