October 2019
Beginner
528 pages
12h 37m
English
Future class with the showDatePicker to present a calendar to choose datesFuture class to save, read, and parse JSON filesListView.separated constructor to section records with a DividerList().sort to sort journal entries by datetextInputAction to customize keyboard actionsFocusNode and FocusScope with the keyboard onSubmitted to move the cursor to the next entry's TextFieldNavigatorIn this chapter, you'll learn how to persist data—that is, save data on the device's local storage directory—across app launches by using the JSON file format and saving the file to the local iOS and Android filesystem. JavaScript Object Notation (JSON) is a common open‐standard and language‐independent file data format with the benefit of being human‐readable text. Persisting data is a two‐step process; first you use the File class to save and read data, and second, you parse the data from and to a JSON format. You'll create a class to handle saving and reading the data file that uses the ...
Read now
Unlock full access