Feb 21 2024
, Dart 3.2.6, Flutter 3.16.9, Android Studio 2023.1.1Dart 3.2.6, Flutter 3.16.9, Android Studio 2023.1.1
Build for both iOS and Android with Flutter! Flutter is a new and exciting software development toolkit that lets you target multiple platforms at once, so you can build apps for iOS, Android and even web and desktop, all from a single codebase.
By Vincent Ngo, Stef Patterson, Alejandro Ulate Fallas & Kevin D Moore.
Flutter is a new and exciting software development toolkit that lets you target multiple platforms at once, so you can build apps for iOS, Android and even web and desktop, all from a single codebase.
Similar to modern web technologies, Flutter uses a declarative approach to UI development. You can take advantage of “hot reload” of new code while developing, and your apps will perform at native speed thanks to Flutter’s custom rendering engine.
It’s been the dream of mobile developers for years to find a cross-platform tool that lets you build for both iOS and Android without having to write and maintain two separate codebases. With Flutter and Flutter Apprentice, you can achieve that dream!
Before You Begin
This section tells you a few things you need to know before you get started, such as what you’ll need for hardware and software, where to find the project files for this book, and more.
In this chapter, you’ll build your first Flutter app from scratch and get the hang of fundamentals.
Section II: Everything’s a Widget
In this section you’ll start to build a full-featured recipe app named Yummy. You’ll gain an understanding of and use a wide range of widgets available in Flutter, and learn about the theory of how widgets work behind the scenes.
You’ll then dive deeper into layout widgets, scrollable widgets and interactive widgets.
Learn how to build a Flutter app that handles deep links for both mobile and web apps.
Section IV: Networking, Persistence & State
Most apps interact with the network to retrieve data and then persist that data locally in some form of cache, such as a database. In this section, you’ll build a new app that lets you search the Internet for recipes, bookmark recipes, and save their ingredients into a shopping list.
You’ll learn about making network requests, parsing the network JSON response, and saving data in a SQLite database. You’ll also get an introduction to using Dart streams.
Finally, this section will also dive deeper into the important topic of app state, which determines where and how your user interface stores and refreshes data in the user interface as a user interacts with your app.
This chapter will teach you how to save complex data to your device's local store using the SQLite database system built into Android and iOS and the Drift library.
Section V: Working With Firebase Cloud Firestore
In this section you will learn how to create and use a Firebase Cloud Firestore. You will learn how to use it to add and retrieve data. Then you will learn about authentication and how to secure your data.
In this chapter, you'll learn how to create and use a Firebase Cloud Firestore. You'll learn to leverage it to add and retrieve data. Then, you'll learn about authentication and how to secure your data.
Section VI: Testing Your Flutter App
Building an app is a great adventure; checking that it works as expected makes it even better!
In this section you’ll learn about the importance of testing your code and the different types of tests that you can implement. Specifically, you’ll learn about unit and widget tests, their differences and how to adopt them in your app.
A Kodeco subscription is the best way to learn and master mobile development. Learn iOS, Swift, Android, Kotlin, Flutter and Dart development and unlock our massive catalog of 50+ books and 4,000+ videos.