Unverified Commit c1beb15f authored by liyuqian's avatar liyuqian Committed by GitHub

Use Visibility to hide gallery menu (#19121)

parent a6af2ca6
......@@ -282,11 +282,11 @@ class _BackdropState extends State<Backdrop> with SingleTickerProviderStateMixin
),
),
new Expanded(
child: new _TappableWhileStatusIs(
AnimationStatus.dismissed,
controller: _controller,
child: new Visibility(
child: widget.backLayer,
),
visible: _controller.status != AnimationStatus.completed,
maintainState: true,
)
),
],
),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment