This book is a practical guide to creating custom components and professional animations in Flutter 3. Throughout the chapters, you will build reusable widgets, advanced visual effects, and modern user experiences that make your apps stand out.
You will start with Flutter fundamentals and basic animations, then move into custom components, multi-theme support, CustomPainter shapes, responsive design, Slivers, Hero animations, screen transitions, touch gestures, Drag & Drop, Lottie and Rive integration, and finally accessibility with Semantics and dark mode.
The goal of this book is not just to teach you how to use widgets, but to show you how to combine them into elegant, scalable, and production-ready interfaces. If you want to take your Flutter apps to a more professional level, this book is for you.
Map
This book has a total of 11 chapters, it is recommended that you read in the order in which they are arranged and as we explain the components of the framework, go directly to practice, replicate, test and modify the codes that we show in this book.
Chapter 1 - Create project in Flutter: In this chapter we are going to learn the steps to create a project in Flutter.
Chapter 2 - Basic widgets to make animations: In this chapter we are going to learn how to make animations in Flutter, which consists of containers that apply smooth transitions when going from one state to another automatically when doing it manually using the AnimationController.
Chapter 3 - Custom components: In this chapter we are going to create several components or sets of nested widgets that are common in modern development, such as buttons with special behaviors, staggered grids, expandable headers, side menus, among others.
Chapter 4 - Multi-theme app: In this chapter we are going to learn how to use multi-theming in the application, for example, having an application with the default theme and a dark mode.
Chapter 5 - CustomPainter to build custom containers: In this chapter we are going to learn about CustomPainter, which are the HTML Canvas but in Flutter, with them, we will be able to build a large number of figures with great precision.
Chapter 6 - Responsive design: In this chapter we are going to learn how we can create an adaptive application, using the same source code on various devices with different screen sizes and that the content can be used from the application so that everything does not appear stretched on large screens.
Chapter 7 - Slivers and Advanced Scrolling Experiences: Learn to master Slivers in Flutter to create advanced scrolling experiences, expandable headers, and parallax effects worthy of premium apps.
Chapter 8 - Hero Animations and Screen Transitions: Discover how to implement Hero animations and custom screen transitions with PageRouteBuilder to give continuity and fluidity to your app.
Chapter 9 - Touch Interactivity: Gestures and Drag and Drop: Master touch interactivity in Flutter: from advanced gestures with GestureDetector to creating a complete Kanban board with Drag & Drop.
Chapter 10 - Integration of External Animations (Lottie and Rive): Elevate your app's design by integrating Lottie and Rive vector animations. Learn how to use and control them with code in Flutter.
Chapter 11 - Accessibility (Semantics) and Dark Mode: Make your Flutter app accessible and inclusive with the Semantics widget and learn how to implement a Dark Mode that respects WCAG standards.