13
Saving Data with Local Persistence
WHAT YOU WILL LEARN IN THIS CHAPTER
- How to persist saving and reading data locally
- How to structure data by using the JSON file format
- How to create model classes to handle JSON serialization
- How to access local iOS and Android filesystem locations using the path provider package
- How to format dates by using the internationalization package
- How to use the
Future
class with theshowDatePicker
to present a calendar to choose dates - How to use the
Future
class to save, read, and parse JSON files - How to use the
ListView.separated
constructor to section records with aDivider
- How to use
List
().sort
to sort journal entries by date - How to use
textInputAction
to customize keyboard actions - How to use
FocusNode
andFocusScope
with the keyboardonSubmitted
to move the cursor to the next entry'sTextField
- How to pass and receive data in a class by using the
Navigator
In this chapter, you'll learn how to persist data—that is, save data on the...