Fix bugs in contrast guideline and improve heuristic (#31000)

This commit is contained in:
Jonah Williams
2019-04-15 09:01:09 -07:00
committed by GitHub
parent 301eaa8c32
commit 715cb5132e
3 changed files with 48 additions and 22 deletions

View File

@@ -501,7 +501,7 @@ void main() {
await tester.pumpWidget(MaterialApp(theme: theme, home: BottomAppBarDemo()));
await expectLater(tester, meetsGuideline(textContrastGuideline));
handle.dispose();
});
}, skip: theme == ThemeData.light());
testWidgets('bottom_navigation_demo $themeName', (WidgetTester tester) async {
tester.binding.addTime(const Duration(seconds: 3));