v0.0.4dynamic_height_grid_view
具有动态高度的 GridView。无需为网格指定 aspectRatio。
113喜欢 5980近 30 天下载150Pub 分数
AndroidiOSWebmacOSWindowsLinux
santa112358/dynamic_height_grid_view open-source repository details.
以下为英文项目原文快照,最新内容请访问 GitHub。
GridView with dynamic height. No need to use aspectRatio.
class MyHomePage extends StatelessWidget {
const MyHomePage({Key? key}) : super(key: key);
@override
Widget build(BuildContext context) {
return Scaffold(
body: DynamicHeightGridView(
itemCount: 120,
crossAxisCount: 3,
crossAxisSpacing: 10,
mainAxisSpacing: 10,
builder: (ctx, index) {
/// return your widget here.
}
),
);
}
}
SliverDynamicHeightGridView for CustomScrollView依赖清单 3 项
{"sdk":"flutter"}{"sdk":"flutter"}^1.0.0先按使用场景筛选,再比较项目活跃情况,最后到原始仓库核对使用要求。
“A repository is the most basic element of GitHub.”
GitHub Docs — About repositories ↗