[我想像手机一样使用手机屏幕中的这两个容器,我希望有人给我写代码,因为我找到了解决方法

问题描述 投票:-5回答:1

我想像在手机屏幕上那样使用这两个容器来工作,所以我希望有人给我提供代码,因为我找到了解决这些问题的方法

image

flutter flutter-layout flutter-dependencies flutter-animation flutter-test
1个回答
0
投票

这里是您的解决方案

Scaffold(
  body: SingleChildScrollView(

    child: Column(
      children: <Widget>[
        Container(
          //put Your child here
        ),
        Container(     //put Your child here ),

      ],
    ),
  ),
);

希望它会有所帮助

© www.soinside.com 2019 - 2024. All rights reserved.