小编Bru*_*ulo的帖子

RenderFlex 底部溢出了 729 像素。在 SingleChildScrollView 中

RenderFlex 底部溢出了 676 像素。在 SingleChildScrollView 中

\n
Widget dashboard(context){\n    return AnimatedPositioned(\n      duration: duration,\n      top:0,\n      bottom:0,\n      left:isCollapsed ? 0 : 0.6 * screenWidth,\n      right:isCollapsed ? 0 : -0.2 * screenWidth,\n      child: ScaleTransition(\n        scale: _scaleAnimation,\n        child: Material(\n          animationDuration: duration ,\n          borderRadius: BorderRadius.all(\n            Radius.circular(40),\n          ),\n          elevation: 8,\n          color:backgroundColor,\n          child: Column(\n              crossAxisAlignment: CrossAxisAlignment.start,\n              children: <Widget>[\n              Container(\n                padding: const EdgeInsets.only(left: 16, right: 16, top: 48),\n                child: Row(\n                    mainAxisAlignment: MainAxisAlignment.spaceBetween,\n                    mainAxisSize: MainAxisSize.max,\n                    children:[\n                      InkWell(\n                        child: Icon(\n                            Icons.menu,\n                            color: Colors.white\n                        ),\n                        onTap: (){\n                          setState(() {\n                            if(isCollapsed)\n                              _controller.forward();\n …
Run Code Online (Sandbox Code Playgroud)

dart flutter

6
推荐指数
2
解决办法
5663
查看次数

标签 统计

dart ×1

flutter ×1