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 ...@@ -282,11 +282,11 @@ class _BackdropState extends State<Backdrop> with SingleTickerProviderStateMixin
), ),
), ),
new Expanded( new Expanded(
child: new _TappableWhileStatusIs( child: new Visibility(
AnimationStatus.dismissed,
controller: _controller,
child: widget.backLayer, 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