Book Image

Learning Dart - Build Your First App with Flutter [Video]

By : Tim Anthony
Book Image

Learning Dart - Build Your First App with Flutter [Video]

By: Tim Anthony

Overview of this book

<p>Flutter is quickly becoming a well-known framework for developing cross-platform apps for both Android and iOS devices. Now developers don't have to learn Java, Kotlin, Objective-C, or Swift to have their apps on Play Store or the App Store. While there are other frameworks for building cross-platform apps, Flutter excels by using a great new language called Dart.</p> <p>With Dart and Flutter, you will develop apps for both stores with just one codebase. It compiles apps into native code without webview. Apps made with Flutter are very fast because of their high rendering power. Hence, they feel super-smooth, thus providing a rich user experience.</p> <p>With this course, you will be able to build app layouts, create widget animations, pull and push data to servers, and compile and release code to both stores.</p> <p>The code bundle for this video course is available at <a href="https://github.com/PacktPublishing/Learning-Dart-Build-your-first-app-with-Flutter" target="_blank">https://github.com/PacktPublishing/Learning-Dart-Build-your-first-app-with-Flutter</a></p> <h2>Style and Approach</h2> <p>A step-by-step guide from zero to releasing mobile apps to Play Store and App Store using Flutter and Dart.</p>
Table of Contents (5 chapters)
Chapter 3
Add a Static List of Messages and Simulate Chat
Content Locked
Section 1
Create a JSON File for the Messages
In this video, while we are still in the beginning of the app, we will add files that will contain some static messages and chat with friends just so that we can show something in the ListViews. - Add two new files to the asset folder and add dummy data - Import the files into the pubspec.yaml file, and load them into memory - Use a Flutter function to deserialize the JSON files and display the data