Enable use_colored_box lint (#117370)
This commit is contained in:
committed by
GitHub
parent
46bb85376b
commit
81bc54be75
@@ -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'));
|
||||
|
||||
Reference in New Issue
Block a user