testWidgets('passes correctly derived index of findChildIndexCallback to the inner SliverChildBuilderDelegate',(WidgetTestertester)async{
testWidgetsWithLeakTracking('passes correctly derived index of findChildIndexCallback to the inner SliverChildBuilderDelegate',(WidgetTestertester)async{
testWidgetsWithLeakTracking('WidgetsApp.router throw if route information provider is provided but no route information parser',(WidgetTestertester)async{
testWidgets('Hides and shows only a single menu',(WidgetTestertester)async{
testWidgetsWithLeakTracking('Hides and shows only a single menu',(WidgetTestertester)async{
finalGlobalKeykey1=GlobalKey();
finalGlobalKeykey2=GlobalKey();
latefinalBuildContextcontext;
...
...
@@ -90,7 +91,7 @@ void main() {
expect(find.byKey(key2),findsNothing);
});
testWidgets('A menu can be hidden and then reshown',(WidgetTestertester)async{
testWidgetsWithLeakTracking('A menu can be hidden and then reshown',(WidgetTestertester)async{
finalGlobalKeykey1=GlobalKey();
latefinalBuildContextcontext;
...
...
@@ -141,7 +142,7 @@ void main() {
expect(find.byKey(key1),findsOneWidget);
});
testWidgets('markNeedsBuild causes the builder to update',(WidgetTestertester)async{
testWidgetsWithLeakTracking('markNeedsBuild causes the builder to update',(WidgetTestertester)async{
intbuildCount=0;
latefinalBuildContextcontext;
...
...
@@ -178,7 +179,7 @@ void main() {
controller.remove();
});
testWidgets('Calling show when a built-in widget is already showing its context menu hides the built-in menu',(WidgetTestertester)async{
testWidgetsWithLeakTracking('Calling show when a built-in widget is already showing its context menu hides the built-in menu',(WidgetTestertester)async{