We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
示例代码
import 'package:easy_refresh/easy_refresh.dart'; import 'package:flutter/material.dart'; class SampleItemListView extends StatelessWidget { const SampleItemListView({ super.key, }); static const routeName = '/'; @override Widget build(BuildContext context) { var controller = EasyRefreshController(); return Scaffold( appBar: AppBar( title: const Text('Sample Items'), actions: const [ IconButton( icon: Icon(Icons.settings), onPressed: null, ), ], ), body: EasyRefresh( controller: controller, header: const MaterialHeader(), footer: const MaterialFooter(), onLoad: () {}, onRefresh: () {}, child: ListView.builder( itemCount: 25, itemBuilder: (BuildContext context, int index) { return Text('Sample Items $index'); })), ); } }
使用浏览器打开后非刷新加载,静置状态下GPU也呈现高使用率 改回classic样式后正常 后测试桌面端和手机端出现同样性能问题。
The text was updated successfully, but these errors were encountered:
fix: Material style performance optimization (#814).
790822a
3.3.5 已修复
Sorry, something went wrong.
No branches or pull requests
示例代码
使用浏览器打开后非刷新加载,静置状态下GPU也呈现高使用率
改回classic样式后正常
后测试桌面端和手机端出现同样性能问题。
The text was updated successfully, but these errors were encountered: