feat: add elastic glass dock motion and Android tablet layouts

This commit is contained in:
david1465833828
2026-10-28 11:09:43 +08:00
parent fbcb7fb637
commit 9da5864d29
16 changed files with 1321 additions and 874 deletions
+3 -2
View File
@@ -45,7 +45,8 @@ void main() {
final a = tester.getRect(find.bySemanticsLabel('A,T,R'));
final b = tester.getRect(find.bySemanticsLabel('B,T,R'));
final cRect = tester.getRect(find.bySemanticsLabel('C,T,R'));
expect(a.overlaps(b), isFalse);
expect(b.overlaps(cRect), isFalse);
// Fractional Expanded heights can differ by floating-point epsilon.
expect(b.top, greaterThanOrEqualTo(a.bottom - 0.001));
expect(cRect.top, greaterThanOrEqualTo(b.bottom - 0.001));
});
}