Use Visibility to hide gallery menu (#19121)
This commit is contained in:
parent
a6af2ca643
commit
c1beb15f85
@ -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,
|
||||
)
|
||||
),
|
||||
],
|
||||
),
|
||||
|
Loading…
x
Reference in New Issue
Block a user