anchor.diff:      );
   
       if (widget.appBar != null) {
  -      final double topPadding = widget.primary ? padding.top : 0.0;
  +      final double topPadding = widget.primary ? mediaQuery.padding.top : 0.0;
         final double extent = widget.appBar.preferredSize.height + topPadding;
         assert(extent >= 0.0 && extent.isFinite);
         _addIfNonNull(
  
positive.code:           child: new CustomMultiChildLayout(
              children: children,
              delegate: new _ScaffoldLayout(
                statusBarHeight: padding.top,
                bottomPadding: widget.resizeToAvoidBottomPadding ? math.max(padding.bottom, viewInsets.bottom) : 0.0,
                endPadding: endPadding,
                textDirection: textDirection,
              ),
  
negative.code:   Widget build(BuildContext context) {
      assert(debugCheckHasMediaQuery(context));
      assert(debugCheckHasDirectionality(context));
      final MediaQueryData mediaQuery = MediaQuery.of(context);
      final ThemeData themeData = Theme.of(context);
      final TextDirection textDirection = Directionality.of(context);
  
  