Organize settings into retained topic tabs

This commit is contained in:
2026-11-07 19:36:02 +00:00
parent 6b654693d9
commit fc4aa1652f
11 changed files with 434 additions and 101 deletions
@@ -66,9 +66,9 @@ void main() {
(widget) => widget is ColoredBox && widget.color.toARGB32() == grouped,
),
);
expect(page, findsOneWidget);
expect(tester.getTopLeft(page).dy, 0);
// The groups start below the bar and scroll behind it.
expect(page, findsWidgets);
expect(tester.getTopLeft(page.last).dy, 0);
// The groups start below the bar and persistent category selector.
final bar = tester.getRect(find.byType(SegmentedBar));
expect(
tester.getTopLeft(find.byType(SettingsGroup).first).dy,
@@ -90,7 +90,7 @@ void main() {
tester
.getTopLeft(find.byKey(const ValueKey<String>('settings.scroll')))
.dy,
0,
greaterThan(tester.getRect(find.byType(SegmentedBar)).bottom),
);
});
}