如何在 Flutter 中存档滑动封面图像效果

How to archive a sliding cover image effect in Flutter

Slider that covers an image with another image

有没有人知道如何在 flutter 中实现这种效果? 或者最后指出我正确的方向? 这是我找到它的页面: Affinity Photo Website

这正是您所需要的,before_after:

   BeforeAfter(
     beforeImage: Image.asset('assets/after.jpg'),
     afterImage: Image.asset('assets/before.jpg'),
   ),