The sliding mechanism acts as a link between the preceding and the following in the whole Flutter framework. Up can be connected to the sliding component Widget layer, and down can be connected to the Gesture layer and Animation layer. Only by understanding its underlying implementation can we stand in a better position to solve complex sliding problems. This book will take you deep into the source code to understand the structure and operation logic of Flutter.

🎤 Author Introduction

Zhang Fengjie Teri is a developer of Flutter and the author of the Open source Project FlutterUnit. FlutterUnit is a quick introduction to Flutter. It contains demonstrations and illustrations of most of Flutter’s built-in components.

The author loves exploring source code and sharing knowledge. In addition to publishing The Journey of Flutter, HE has also published 3 courses in Denver:

  • Explorations of Flutter Gestures – Taking Charge of the World

  • Flutter Animation Exploration – Streamer Phantom

  • The Guide to Drawing Flutter – A Wonderful Book

  • The king of public number programming

🚀 The birth of this little volume

The sliding mechanism connects the previous layer and the next layer in the Flutter framework layer. The upward layer can connect the sliding component Widget layer, and the downward layer can connect the Gesture layer and Animation layer.

Not only that, but the content of the sliding mechanism also intersects with other layers. For example, viewports and Sliver content implementations also involve knowledge of Rendering Rendering layers.

Therefore, exploring the sliding system is very important for us to master the Flutter frame layer. However, many people want to understand the sliding system, but do not understand the source code.

In order to solve these problems, this book will give you an in-depth understanding of the construction principle of the Flutter system, the implementation of the source code, the use of related components and other core content, so that you can complete the Flutter system exploration.

🏆 What will you learn

Overall, the volume will be divided into four modules.


Module 1: Form a preliminary understanding of the composition of the sliding viewport. ListView is the most familiar source analysis to help you understand the necessary components of a sliding body.

Module 2: A preliminary understanding of Scrollable and Viewport, two sliding components. Combined with the source code, from the point of view of member attributes with you to understand the sliding system.

Module 3: Explore Sliver. First, you’ll see how to use the Sliver component. Then we analyze the necessity of Sliver components from the perspective of rendering objects, and explore the cache implementation and keepAlive mechanism.

Module 4: Explore the sliding processing mechanism. First analyze the source code implementation of PageView and SingleChildScrollView components, then introduce the Notification Notification mechanism, and finally analyze the callback processing of drag events in ScrollableState.

Finally, if you:

  • Learn about the use of Flutter sliding components
  • A Flutter project will be created
  • Understand basic Dart syntax

Want to have a comprehensive understanding of the sliding system to further enhance the ability, or want to improve their ability to read code, explore the source engineers, this small volume is very suitable for you!

Now the booklet is in the new discount period, limited time 60% off, only ¥2.1, stamp below the poster can be purchased immediately 👇🏻~