笔记
- 某个
flutter版本后,支持命名路由传递参数了Navigator.pushNamed( context, '/weather', arguments: <String, String> { 'city': 'Berlin', 'country': 'Germany', }, ); - js滚动穿透问题,找了一些方法,理想的不多。 参考 禁用 touchmove 根据情况判断是否使用 event.preventDefault() 或者使用库 tua-body-scroll-lock
flutter 版本后,支持命名路由传递参数了
Navigator.pushNamed(
context,
'/weather',
arguments: <String, String> {
'city': 'Berlin',
'country': 'Germany',
},
);