opt: part list

Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2024-11-17 11:26:26 +08:00
parent 0e205fcddb
commit 5d0746a7d0

View File

@@ -122,7 +122,9 @@ class _PagesPanelState extends State<PagesPanel> {
bool isCurrentIndex = currentIndex == i; bool isCurrentIndex = currentIndex == i;
return Container( return Container(
width: 150, width: 150,
margin: const EdgeInsets.only(right: 10), margin: EdgeInsets.only(
right: i != widget.pages.length - 1 ? 10 : 0,
),
child: Material( child: Material(
color: Theme.of(context).colorScheme.onInverseSurface, color: Theme.of(context).colorScheme.onInverseSurface,
borderRadius: BorderRadius.circular(6), borderRadius: BorderRadius.circular(6),