Book Image

Dart 2 in 7 Days [Video]

By : Victor Wooding
Book Image

Dart 2 in 7 Days [Video]

By: Victor Wooding

Overview of this book

<p>Google's Dart appears to be a much more robust framework, superseding JavaScript in several aspects to create next-generation apps.<br />This video starts by setting up a development environment for Dart and Flutter from which to build your first app. You will then learn how to create variables and perform operations and will learn about conditional statements. Next, you will focus on Object-Oriented Programming aspects, wherein you will learn about creating classes, functions, and data structures. You will learn to build a TO-Do list application by calling APIs to get JSON data. Finally, you will learn how to deploy your app on the Google Play Store and Apple App Store.<br />By the end of this video, you will be well-acquainted with Dart and Flutter and will be able to create your own amazing applications and show them to the World.</p> <p>The code bundle for this video course is available at&nbsp;<a href="https://github.com/PacktPublishing/Dart-2-in-7-Days" target="_blank">https://github.com/PacktPublishing/Dart-2-in-7-Days</a></p> <h1>Style and Approach</h1> <p>This enticing learning path starts from the very basics and gradually picks up pace as the story unfolds. Each topic is explained with the help of examples that solve a real-world problem and involve hands-on work, thus giving you a deep insight into the world of DART.</p>
Table of Contents (7 chapters)
Chapter 3
Object-Oriented Programing and Data Structures
Content Locked
Section 3
Constructors, Class Inheritance,and Overriding Methods
This video demonstrates the importance of constructors and how to generate one with IntelliJ. It also shows how subclasses can inherit properties and methods of the main class. We then look at how we can change the default behavior of classes. - Create constructors for the classes that were created - Create subclasses and use extends keyword to inherit class attributes. - Change the default behavior of a class by overriding the method.