Enable use_colored_box lint (#117370)

This commit is contained in:
Michael Goderbauer
2022-12-20 14:09:55 -08:00
committed by GitHub
parent 46bb85376b
commit 81bc54be75
72 changed files with 198 additions and 194 deletions

View File

@@ -18,8 +18,8 @@ void main() {
expect(find.byType(Divider), findsOneWidget);
// Divider is positioned horizintally.
final Offset container = tester.getBottomLeft(find.byType(Container).first);
// Divider is positioned horizontally.
final Offset container = tester.getBottomLeft(find.byType(ColoredBox).first);
expect(container.dy, tester.getTopLeft(find.byType(Divider)).dy);
final Offset subheader = tester.getTopLeft(find.text('Subheader'));