如何实现从左向左滑动以在 flutter 中返回手势?不知道它是否已经为iOS自动实现,但是我也希望它为Android(因为事物正在基于手势)。
最佳答案
使用CupertinoPageRoute
使它在Android上运行;import 'package:flutter/cupertino.dart';
(如对How to implement swipe to previous page in Flutter?的回答)
如何实现从左向左滑动以在 flutter 中返回手势?不知道它是否已经为iOS自动实现,但是我也希望它为Android(因为事物正在基于手势)。
最佳答案
使用CupertinoPageRoute
使它在Android上运行;import 'package:flutter/cupertino.dart';
(如对How to implement swipe to previous page in Flutter?的回答)