提交 4be13503 authored 作者: 袁静春's avatar 袁静春

提交:修改图片展示逻辑;

上级 8f36b33c
......@@ -62,7 +62,9 @@ class _StateLayoutState extends State<StateLayout> {
crossAxisAlignment: CrossAxisAlignment.center,
mainAxisAlignment: MainAxisAlignment.center,
children: <Widget>[
Opacity(
Offstage(
offstage: widget.img!.isEmpty,
child: Opacity(
opacity: 1,
child: Container(
height: 120.0,
......@@ -72,7 +74,9 @@ class _StateLayoutState extends State<StateLayout> {
image: ImageUtils.getAssetImage(img),
),
),
)),
),
),
),
const SizedBox(
height: 16.0,
),
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论