Book Image

Flutter Projects

By : Simone Alessandria
Book Image

Flutter Projects

By: Simone Alessandria

Overview of this book

Flutter is a modern reactive mobile framework that removes a lot of the complexity found in building native mobile apps for iOS and Android. With Flutter, developers can now build fast and native mobile apps from a single codebase. This book is packed with 11 projects that will help you build your own mobile applications using Flutter. It begins with an introduction to Dart programming and explains how it can be used with the Flutter SDK to customize mobile apps. Each chapter contains instructions on how to build an independent app from scratch, and each project focuses on important Flutter features.From building Flutter Widgets and applying animations to using databases (SQLite and sembast) and Firebase, you'll build on your knowledge through the chapters. As you progress, you’ll learn how to connect to remote services, integrate maps, and even use Flare to create apps and games in Flutter. Gradually, you’ll be able to create apps and games that are ready to be published on the Google Play Store and the App Store. In the concluding chapters, you’ll learn how to use the BLoC pattern and various best practices related to creating enterprise apps with Flutter. By the end of this book, you will have the skills you need to write and deliver fully functional mobile apps using Flutter.
Table of Contents (15 chapters)
12
Assessment

Questions

Please try to answer the following questions. When in doubt, have a look at the content in the chapter itself: you'll find all the answers there!

  1. When would you prefer to use sembast over SQLite in an app?
  2. How can you retrieve all the documents from a store in a sembast database?
  3. How can you delete all the documents from a store in a sembast database?
  4. How would you complete the following method to update an existing object in a sembast database?
Future updateTodo(Todo todo) async {
//add your code here
}
  1. What are the main differences between Futures and Streams?
  2. When would you use the BLoC pattern in an app?
  3. In a StreamController, what are the purposes of stream and sink?
  4. Which is the object that allows you to listen to the events from the Stream and rebuild all its descendants?
  5. How do you listen to changes in a Stream?
  6. Why would you use a stateful widget when...