v1.1.2stacked_page_view
一个用于创建垂直轮播图的 Flutter 插件。该包非常轻量,其实际代码仅约 109 行。
24喜欢 25近 30 天下载150Pub 分数
AndroidiOSWebmacOSWindowsLinux
Flutter 插件,用于渲染堆叠的页面视图
以下为英文项目原文快照,最新内容请访问 GitHub。
Hi! This package will create stacked page view in your flutter app. it's as lightweight as it can get⚡⚡ .
PageView.builder(
itemCount: 10,
scrollDirection: Axis.vertical,
controller: pageController,
itemBuilder: (context, index) {
return StackPageView(
controller: pageController,
index: index,
child: Container(
color: (colors..shuffle()).first,
child: Center(
child: Text(
'$index',
style: TextStyle(
color: Colors.white,
fontSize: 25,
),
),
),
),
);
},
)
依赖清单 2 项
{"sdk":"flutter"}{"sdk":"flutter"}先按使用场景筛选,再比较项目活跃情况,最后到原始仓库核对使用要求。
“A repository is the most basic element of GitHub.”
GitHub Docs — About repositories ↗