小部件扩展到另一个小部件

问题描述

在点击 + 按钮时,小部件应该扩展到其他小部件上并显示更多信息,就我尝试在同一项目中扩展而言,有没有办法将小部件扩展到另一个小部件上。目前我使用了 expandebale 包 这是我的代码

Stack(
            children: [
              Container(
                decoration: Boxdecoration(
                  color: Constants.richTextDark,borderRadius: BorderRadius.all(
                    Radius.circular(25),),height: 220,width: 160,child: Container(
                  child: Padding(
                    padding: const EdgeInsets.only(bottom: 8.0),child: Align(
                      alignment: FractionalOffset.bottomCenter,child: ExpansionTile(
                        title: new Clipoval(
                          child: Container(
                              width: 30,height: 30,decoration: Boxdecoration(
                                  shape: BoxShape.circle,border: Border.all(
                                      width: 1.5,color: Colors.white)),child: Icon(
                                Icons.add,color: Colors.white,)),children: <Widget>[
                          new Column(
                            children: [Text('123qewsd')],],Container(
                decoration: Boxdecoration(
                  color: Colors.white,height: 170,

enter image description here

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)