feat: 点击tab返回顶部
This commit is contained in:
@ -387,6 +387,7 @@ class _VideoDetailPageState extends State<VideoDetailPage>
|
||||
dividerColor: Colors.transparent,
|
||||
tabs:
|
||||
vdCtr.tabs.map((String name) => Tab(text: name)).toList(),
|
||||
onTap: (index) => vdCtr.onTapTabbar(index),
|
||||
),
|
||||
),
|
||||
),
|
||||
@ -676,6 +677,7 @@ class _VideoDetailPageState extends State<VideoDetailPage>
|
||||
() => VideoReplyPanel(
|
||||
bvid: vdCtr.bvid,
|
||||
oid: vdCtr.oid.value,
|
||||
onControllerCreated: vdCtr.onControllerCreated,
|
||||
),
|
||||
)
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user