Book Image

Cross-Platform UIs with Flutter

By : Ryan Edge, Alberto Miola
Book Image

Cross-Platform UIs with Flutter

By: Ryan Edge, Alberto Miola

Overview of this book

Flutter is a UI toolkit for building beautiful, natively compiled applications for mobile, web, desktop, and embedded devices from a single code base. With Flutter, you can write your code once and run it anywhere using a single code base to target multiple platforms. This book is a comprehensive, project-based guide for new and emerging Flutter developers that will help empower you to build bulletproof applications. Once you start reading book, you’ll quickly realize what sets Flutter apart from its competition and establish some of the fundamentals of the toolkit. As you work on various project applications, you’ll understand just how easy Flutter is to use for building stunning UIs. This book covers navigation strategies, state management, advanced animation handling, and the two main UI design styles: Material and Cupertino. It’ll help you extend your knowledge with good code practices, UI testing strategies, and CI setup to constantly keep your repository’s quality at the highest level possible. By the end of this book, you'll feel confident in your ability to transfer the lessons from the example projects and build your own Flutter applications for any platform you wish.
Table of Contents (12 chapters)

Summary

In this chapter, we learned about the different types of animations in Flutter. Then, we learned how to leverage explicit animations in our Excuses application. We refactored the application to utilize implicit animations, driven by property changes. Finally, we refactored our Flutter application to leverage Flutter’s animations package.

Throughout this chapter, you have learned about the trade-offs of implicit animations and explicit animations. The important takeaway is implicit animations are just abstractions over explicit animations that encapsulate common use cases. As your application grows and you build custom animations, you might discover common use cases unique to your application. That is a perfect opportunity to create an implicit animation to keep your code reuse as simple as possible.

You now have a good understanding of how to build high-fidelity user experiences using your own custom animations.

In the next chapter, you will learn how to build...