Book Image

Flutter Cookbook

By : Simone Alessandria, Brian Kayfitz
4 (1)
Book Image

Flutter Cookbook

4 (1)
By: Simone Alessandria, Brian Kayfitz

Overview of this book

“Anyone interested in developing Flutter applications for Android or iOS should have a copy of this book on their desk.” – Amazon 5* Review Lauded as the ‘Flutter bible’ for new and experienced mobile app developers, this recipe-based guide will teach you the best practices for robust app development, as well as how to solve cross-platform development issues. From setting up and customizing your development environment to error handling and debugging, The Flutter Cookbook covers the how-tos as well as the principles behind them. As you progress, the recipes in this book will get you up to speed with the main tasks involved in app development, such as user interface and user experience (UI/UX) design, API design, and creating animations. Later chapters will focus on routing, retrieving data from web services, and persisting data locally. A dedicated section also covers Firebase and its machine learning capabilities. The last chapter is specifically designed to help you create apps for the web and desktop (Windows, Mac, and Linux). Throughout the book, you’ll also find recipes that cover the most important features needed to build a cross-platform application, along with insights into running a single codebase on different platforms. By the end of this Flutter book, you’ll be writing and delivering fully functional apps with confidence.
Table of Contents (17 chapters)
16
About Packt

What this book covers

Chapter 1, Getting Started with Flutter, will help you set up your development environment.

Chapter 2, Dart: A Language You Already Know, introduces Dart, its syntax, and its patterns.

Chapter 3, Introduction to Widgets, shows how to build simple user interfaces with Flutter.

Chapter 4, Mastering Layout and Taming the Widget Tree, shows how to build more complex screens made of several widgets.

Chapter 5, Adding Interactivity and Navigation to Your App, contains several recipes that add interactivity to your apps, including interacting with buttons, reading a text from a TextField, changing the screen, and showing alerts.

Chapter 6, Basic State Management, introduces the concept of State in Flutter: instead of having screens that just show widgets, you will learn how to build screens that can keep and manage data.

Chapter 7, The Future Is Now: Introduction to Asynchronous Programming, contains several examples of one of the most useful and interesting features in programming languages: the concept of the asynchronous execution of tasks.

Chapter 8, Data Persistence and Communicating with the Internet, gives you the tools to connect to web services and persist data into your device.

Chapter 9, Advanced State Management with Streams, shows how to deal with Streams, which are arguably the best tool to create reactive apps.

Chapter 10, Using Flutter Packages, teaches you how to choose, use, build, and publish Flutter packages.

Chapter 11, Adding Animations to Your App, gives you the tools you need to build engaging animations in your apps.

Chapter 12, Using Firebase, shows how to leverage a powerful backend without any code!

Chapter 13, Machine Learning with Firebase MLKit, shows how to add machine learning features to your apps by using Firebase.

Chapter 14, Distributing Your Mobile App, outlines the steps required to publish an app into the main stores: the Google Play Store and the Apple App Store.

Chapter 15, Flutter Web and Desktop, shows you how to use the same code base to build apps for the web and desktop.