Flutter 如何校正颤振中的底部溢出误差

Flutter 如何校正颤振中的底部溢出误差,flutter,flutter-sliver,Flutter,Flutter Sliver,我正在使用下面的代码来处理狭长的appbar,它一开始可以很好地加载内容,但向上滚动时会产生错误 底部溢出50像素 我应该如何解决它? 我正在考虑各种选择,但直到现在才找到解决方案 如果我删除了大部分的小部件,它可以正常工作,但现在我需要这些小部件,并且在处理它们时面临问题 SliverAppBar( expandedHeight: 120.0, floating: true, pinned: false, snap: true

我正在使用下面的代码来处理狭长的appbar,它一开始可以很好地加载内容,但向上滚动时会产生错误

底部溢出50像素

我应该如何解决它? 我正在考虑各种选择,但直到现在才找到解决方案

如果我删除了大部分的小部件,它可以正常工作,但现在我需要这些小部件,并且在处理它们时面临问题

 SliverAppBar(

        expandedHeight: 120.0,
        floating: true,
        pinned: false,
        snap: true,
        elevation: 40,
        backgroundColor: Colors.orange,
        flexibleSpace: FlexibleSpaceBar(
            centerTitle: true,
            title: Padding(
              padding: const EdgeInsets.only(top: 25),
              child: Column(
                children: <Widget>[
                  SizedBox(height: 15,),
                    Column(children: <Widget>[

                      Text('HEADER TITTLE',
                          style: TextStyle(

                            color: Colors.white,
                            fontSize: 10.0,
                          )
                      ),
                      Text("TITLE",
                          style: TextStyle(
                            color: Colors.white,
                            fontSize: 16.0,
                          )),
                    ],),




                  Padding(
                    padding: const EdgeInsets.fromLTRB(62, 7, 55,0),

                      child: Row(children: <Widget>[

                           Column(children: <Widget>[

                            Text('TEXT 1',
                                style: TextStyle(
                                  color: Colors.white,
                                  fontSize: 10.0,
                                )),
                            SizedBox(width: 10,),
                            Text("TEXT", style: TextStyle(
                              color: Colors.white,
                              fontSize: 12.0,
                            )),
                          ],),

                        SizedBox(width: 20,),
                           Column(children: <Widget>[
                            Text('TEXT 2',
                                style: TextStyle(
                                  color: Colors.white,
                                  fontSize: 10.0,
                                )),
                            SizedBox(width: 10,),
                            Text("TEXT", style: TextStyle(
                              color: Colors.white,
                              fontSize: 12.0,
                            )),
                          ],),



                      ],),


                  )

                ],

              ),
            ),



        ),
      ),
SliverAppBar(
扩展高度:120.0,
浮动:是的,
错,,
是的,
海拔:40,
背景颜色:Colors.orange,
flexibleSpace:FlexibleSpaceBar(
标题:对,
标题:填充(
填充:仅限常量边集(顶部:25),
子:列(
儿童:[
尺寸箱(高度:15,),
栏(儿童:[
文本('标题标题',
样式:TextStyle(
颜色:颜色,白色,
字体大小:10.0,
)
),
文本(“标题”,
样式:TextStyle(
颜色:颜色,白色,
字体大小:16.0,
)),
],),
填充物(
填充:LTRB(62,7,55,0)中的常数边集,
子对象:行(子对象:[
栏(儿童:[
文本(“文本1”,
样式:TextStyle(
颜色:颜色,白色,
字体大小:10.0,
)),
尺寸箱(宽度:10,),
文本(“文本”,样式:TextStyle(
颜色:颜色,白色,
字体大小:12.0,
)),
],),
尺寸箱(宽度:20,),
栏(儿童:[
文本(“文本2”,
样式:TextStyle(
颜色:颜色,白色,
字体大小:10.0,
)),
尺寸箱(宽度:10,),
文本(“文本”,样式:TextStyle(
颜色:颜色,白色,
字体大小:12.0,
)),
],),
],),
)
],
),
),
),
),