mirror of
https://github.com/vodemn/m3_lightmeter.git
synced 2025-02-28 23:40:40 +00:00
WillPopScope
-> PopScope
This commit is contained in:
parent
2b6b27bcf4
commit
5753e261f6
1 changed files with 2 additions and 2 deletions
|
@ -178,8 +178,8 @@ class AnimatedDialogState extends State<AnimatedDialog> with SingleTickerProvide
|
||||||
opaque: false,
|
opaque: false,
|
||||||
transitionDuration: Duration.zero,
|
transitionDuration: Duration.zero,
|
||||||
reverseTransitionDuration: Duration.zero,
|
reverseTransitionDuration: Duration.zero,
|
||||||
pageBuilder: (_, __, ___) => WillPopScope(
|
pageBuilder: (_, __, ___) => PopScope(
|
||||||
onWillPop: () => _animateReverse().then((value) => true),
|
onPopInvokedWithResult: (_, __) => _animateReverse().then((value) => true),
|
||||||
child: _AnimatedOverlay(
|
child: _AnimatedOverlay(
|
||||||
controller: _animationController,
|
controller: _animationController,
|
||||||
barrierColorAnimation: _barrierColorAnimation,
|
barrierColorAnimation: _barrierColorAnimation,
|
||||||
|
|
Loading…
Reference in a new issue