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(
|
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,
|
||||||
|
)
|
||||||
),
|
),
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user