Organize settings into retained topic tabs
This commit is contained in:
@@ -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),
|
||||
);
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user