ABSTRACT

Flutter applications are built using Dart programming language. This programming language is optimized to build client applications fast across multiple platforms. It was developed by Google and has been around since 2011. It's gaining momentum since Flutter is introduced as an effective solution to build cross-platform applications. This chapter will introduce the basic Dart 2 syntaxes needed to getting started with building applications in Flutter. Dart is based on object-oriented programming model and concepts. It's important to have some familiarity developing applications with object-oriented programming languages like Java, Python, etc. This chapter will begin introducing the Dart 2 program structure and entry point to run the code. Next, you will learn to declare variables with two different approaches, and get insight into data types. The collections of application programming interfaces (APIs) like List, Set, and Map data structures will be discussed under Collections section. Finally, we'll conclude with the learning to write reusable code to better architect applications using Functions, Classes, and Methods.