feat(inspector): add animated independent corners and layered shadow controls

This commit is contained in:
lingjhf committed 2026-10-09 19:24:00 +08:00
1 parent 77dbb1897f
commit 8d1f8db7e8
23 files changed
+2375 -228

No files matched your search

+4 -4
View File
@@ -58,7 +58,7 @@ void main() {
tester
.getSize(find.byKey(const ValueKey('project-settings-edit')))
.height,
28,
24,
);
final rows = find.byWidgetPredicate(
(widget) => widget.runtimeType.toString() == '_Info',
@@ -86,7 +86,7 @@ void main() {
);
expect(
tester.getRect(value).right,
panelRight - AppInspectorMetrics.padding,
panelRight - AppInspectorMetrics.trailingPadding,
reason: '$locale at $width: ${tester.widget<Text>(value).data}',
);
}
@@ -144,8 +144,8 @@ void main() {
of: find.byWidget(row.widget),
matching: find.byType(Text),
);
expect(tester.getRect(texts.first).left, 12);
expect(tester.getRect(texts.last).right, width - 12);
expect(tester.getRect(texts.first).left, 16);
expect(tester.getRect(texts.last).right, width - 8);
expect(
tester.getTopLeft(texts.first).dy,
closeTo(tester.getTopLeft(texts.last).dy, .01),