颤抖地滚动堆栈

时间:2020-05-21 09:08:28

标签: android-studio flutter scroll stack

我正在创建一堆小部件,我希望它们可以滚动...。无论如何,我使用SinglechildscrollableView,ListView等,但并没有消除错误, 143个像素溢出 >,该怎么办?

                alignment: Alignment.topCenter,
                children : <Widget>[
                  Padding(
                    padding: EdgeInsets.fromLTRB(0, 40, 0, 0),
                    child: SizedBox(
                      height: MediaQuery.of(context).size.height,
                      width: MediaQuery.of(context).size.width,
                      child: Container(
                        decoration: BoxDecoration(
                          image: DecorationImage(
                            image: AssetImage("assets/bluecard.png"),
                            fit: BoxFit.fill,
                          ),
                        ),
                        child: Padding(
                          padding: const EdgeInsets.all(30.0),
                          child: Column(
                            mainAxisAlignment: MainAxisAlignment.start,
                            crossAxisAlignment: CrossAxisAlignment.center,
                            children: <Widget>[
                              GradientText(
                                  "Rahul Challa 21",
                                    style: TextStyle(
                                      fontSize: 24,
                                    ),
                                    gradient: LinearGradient(
                                    colors: [Color(0xFFE601A4),Color(0xFF6500FF)],
                                      tileMode: TileMode.clamp),
                                  ),
                              ```

0 个答案:

没有答案