更新ui
This commit is contained in:
@@ -50,7 +50,7 @@ class _DataShowWidgetState extends State<DataShowWidget> {
|
||||
children: [
|
||||
// 放入传入的 widget1
|
||||
Container(
|
||||
width: MediaQuery.sizeOf(context).width * 0.35, // 固定宽度
|
||||
width: MediaQuery.sizeOf(context).width * 0.33, // 固定宽度
|
||||
decoration: BoxDecoration(),
|
||||
child: Align(
|
||||
alignment: Alignment.centerLeft,
|
||||
@@ -90,7 +90,7 @@ class _DataShowWidgetState extends State<DataShowWidget> {
|
||||
),
|
||||
// 放入传入的 widget4
|
||||
Container(
|
||||
width: MediaQuery.sizeOf(context).width * 0.1, // 固定宽度
|
||||
width: MediaQuery.sizeOf(context).width * 0.12, // 固定宽度
|
||||
decoration: BoxDecoration(),
|
||||
child: Align(
|
||||
alignment: widget.alignment == MainAxisAlignment.start
|
||||
|
||||
Reference in New Issue
Block a user