fix(home): 收紧二级标签间距

This commit is contained in:
Zhou Weidong committed 2026-10-22 18:59:11 +08:00
1 parent 147662d085
commit 5a4e910554
3 files changed
+9 -3

No files matched your search

+6
View File
@@ -176,6 +176,12 @@ void main() {
(unselectedTagChip.decoration! as BoxDecoration).color,
AppColors.transparent,
);
expect(
unselectedTagChip.padding,
const EdgeInsets.symmetric(
horizontal: AppDimens.homeSecondaryTagHorizontalPadding,
),
);
final primaryStart = tester.getTopLeft(find.text('Featured'));
final pageStart = tester.getTopLeft(searchBox);
expect(primaryStart.dx, pageStart.dx);