From 5d0746a7d06b8e84a8364d9b5814eb4fb0940833 Mon Sep 17 00:00:00 2001 From: bggRGjQaUbCoE Date: Sun, 17 Nov 2024 11:26:26 +0800 Subject: [PATCH] opt: part list Signed-off-by: bggRGjQaUbCoE --- lib/pages/video/detail/introduction/widgets/page.dart | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/pages/video/detail/introduction/widgets/page.dart b/lib/pages/video/detail/introduction/widgets/page.dart index 2b1f8a37..59c95329 100644 --- a/lib/pages/video/detail/introduction/widgets/page.dart +++ b/lib/pages/video/detail/introduction/widgets/page.dart @@ -122,7 +122,9 @@ class _PagesPanelState extends State { bool isCurrentIndex = currentIndex == i; return Container( width: 150, - margin: const EdgeInsets.only(right: 10), + margin: EdgeInsets.only( + right: i != widget.pages.length - 1 ? 10 : 0, + ), child: Material( color: Theme.of(context).colorScheme.onInverseSurface, borderRadius: BorderRadius.circular(6),