anchor.diff:        ),
       );
   
  -    final dynamic childList = getRenderSegmentedControl(tester).getChildrenAsList();
  +    final dynamic childList =
  +        getRenderSegmentedControl(tester).getChildrenAsList();
   
       expect(
         getRenderSegmentedControl(tester),
  
positive.code:           ),
          ),
        );
        fail('Should not be possible to create a segmented control with just one child');
      } on AssertionError catch (e) {
        expect(e.toString(), contains('children.length'));
      }
    });
  
    testWidgets('Value attribute must be the key of one of the children widgets',
            (WidgetTester tester) async {
      final Map<int, Widget> children = <int, Widget>{};
      children[0] = const Text('Child 1');
      children[1] = const Text('Child 2');
  
negative.code:   });
  
    testWidgets('Long press changes background color of not-selected child',
        (WidgetTester tester) async {
      await tester.pumpWidget(setupSimpleSegmentedControl());
  
      final dynamic childList =
          getRenderSegmentedControl(tester).getChildrenAsList();
  
      expect(
        getRenderSegmentedControl(tester),
  