Summary

My Time is a simple app, but by building it you've covered a lot of Flutter features. In particular, you've used the GridView layout—a scrollable, 2D array of widgets that you can use to show data to your users in tabular form.

You've seen ways to implement asynchronous programming with Flutter. In particular, you've used a Stream to implement the countdown for the app, and you've used a StreamBuilder to listen to the events that came from the Stream. You've seen that the Streambuilder rebuilds its children at any change of the Stream.

Then, you've used the Navigator class to show different screens to your users, through the push() and pop() methods.

Finally, you've seen that there is a simple and effective way to store data for your apps: the SharedPreferences class, from the shared_preference library. You've also seen how to install an external library in your app using the pubspec.yaml file, and used the await statement in an async method.

Now, you are able to persist simple data in any app that you'll build, create multi-screen apps, and create streams of data. 

We've covered a lot of ground in this chapter: it's time to have some fun with a game! In the next chapter, we'll build a simple game using animations and gesture control.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.118.2.240