纯粹慵懒
纯粹慵懒
``` Future main() async { await DartVLC.initialize(useFlutterNativeView: true); runApp(const MyApp()); } class MyApp extends StatelessWidget { const MyApp({Key? key}) : super(key: key); @override Widget build(BuildContext context) { return MaterialApp( title:...
I extracted these audio addresses from Youtube. It works smoothly on Android, and the duration is increased by 2 times on iOS, and the second half is empty and no...
> Hi there, Use https://www.aconvert.com/analyze.html > > It states that the file size is 0 You can run my sample code to see it. If the test link is expired...
Does anyone have a good idea?
Any update on this issue?
我想实现用户滑动到底部自动加载更多,在web上也是如此。当滚动到list最大距离时自动加载更多,项目有属性能实现这个效果吗
Web理论上也应该可以吧,鼠标滚轮滚动的时候,检测list到底部的时候自动加载更多
` _controller.addListener(() { if (_controller.position.atEdge) { bool isTop = _controller.position.pixels == 0; if (isTop) { debugPrint('At the top'); } else { debugPrint('At the bottom'); onLoadMore(); } } });`
> ` _controller.addListener(() { if (_controller.position.atEdge) { bool isTop = _controller.position.pixels == 0; if (isTop) { debugPrint('At the top'); } else { debugPrint('At the bottom'); onLoadMore(); } } });` 这个方式可以吗,判断列表到底部了则自动加载更多
infiniteOffset 这个偏移量在web上即使设置为0也无效,是因为web上在到底部了无法进行偏移操作对吧。 我的想法是在无限滚动的逻辑那里,针对web进行特殊的处理,只判断position是否到底部。