public override bool shouldRebuild(SliverPersistentHeaderDelegate _oldDelegate)
        {
            _SliverAppBarDelegate oldDelegate = _oldDelegate as _SliverAppBarDelegate;

            return(this.leading != oldDelegate.leading ||
                   this.automaticallyImplyLeading != oldDelegate.automaticallyImplyLeading ||
                   this.title != oldDelegate.title ||
                   this.actions != oldDelegate.actions ||
                   this.flexibleSpace != oldDelegate.flexibleSpace ||
                   this.bottom != oldDelegate.bottom ||
                   this._bottomHeight != oldDelegate._bottomHeight ||
                   this.elevation != oldDelegate.elevation ||
                   this.backgroundColor != oldDelegate.backgroundColor ||
                   this.brightness != oldDelegate.brightness ||
                   this.iconTheme != oldDelegate.iconTheme ||
                   this.textTheme != oldDelegate.textTheme ||
                   this.primary != oldDelegate.primary ||
                   this.centerTitle != oldDelegate.centerTitle ||
                   this.titleSpacing != oldDelegate.titleSpacing ||
                   this.expandedHeight != oldDelegate.expandedHeight ||
                   this.topPadding != oldDelegate.topPadding ||
                   this.pinned != oldDelegate.pinned ||
                   this.floating != oldDelegate.floating ||
                   this.snapConfiguration != oldDelegate.snapConfiguration);
        }
        public override bool shouldRebuild(SliverPersistentHeaderDelegate _oldDelegate)
        {
            _SliverAppBarDelegate oldDelegate = _oldDelegate as _SliverAppBarDelegate;

            return(this.maxHeight != oldDelegate.maxHeight ||
                   this.minHeight != oldDelegate.minHeight ||
                   this.child != oldDelegate.child);
        }