Skip to Main Content
Dart in Action
book

Dart in Action

by Chris Buckett
January 2013
Beginner content levelBeginner
424 pages
13h 26m
English
Manning Publications
Content preview from Dart in Action

Appendix A. Core language reference

The core Dart language consists of variables and operators, a number of built-in types, flow-control statements, and function blocks. Dart is a dynamically typed language, similar to JavaScript, and type information in variable and parameter declarations is optional. The Dart virtual machine executes Dart code identically whether type information is provided or not. Any type information provided is used by tools to confirm the developer’s intention and provides documentation to future developers who may need to read and maintain the code.

A.1. Variable declaration

A variable is declared by prefixing the variable name with one of the following:

  • The var keyword (indicating a dynamic type, or no type information ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Dart: Up and Running

Dart: Up and Running

Kathy Walrath, Seth Ladd
Dart: Scalable Application Development

Dart: Scalable Application Development

Davy Mitchell, Sergey Akopkokhyants, Ivo Balbaert
Web Programming with Dart

Web Programming with Dart

Moises Belchin, Patricia Juberias

Publisher Resources

ISBN: 9781617290862Publisher SupportOtherPublisher WebsiteSupplemental ContentPurchase Link