mirror of
https://github.com/vodemn/m3_lightmeter.git
synced 2025-02-28 15:30:39 +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,
|
||||
transitionDuration: Duration.zero,
|
||||
reverseTransitionDuration: Duration.zero,
|
||||
pageBuilder: (_, __, ___) => WillPopScope(
|
||||
onWillPop: () => _animateReverse().then((value) => true),
|
||||
pageBuilder: (_, __, ___) => PopScope(
|
||||
onPopInvokedWithResult: (_, __) => _animateReverse().then((value) => true),
|
||||
child: _AnimatedOverlay(
|
||||
controller: _animationController,
|
||||
barrierColorAnimation: _barrierColorAnimation,
|
||||
|
|
Loading…
Reference in a new issue