fix(runtime): 37 late fields with == null checks were wrongly migrated -> nullable. Fixes LateInitializationError crashes on page navigation (shop/checkout/comment/data pages)
This commit is contained in:
@@ -18,7 +18,7 @@ class PopupAnimationWidget extends AnimatedWidget {
|
||||
this.popupOffset = Offset.zero,
|
||||
}) : super(listenable: animation);
|
||||
|
||||
late Offset _startOffset;
|
||||
Offset? _startOffset;
|
||||
Offset _offset = Offset.zero;
|
||||
|
||||
@override
|
||||
@@ -29,7 +29,7 @@ class PopupAnimationWidget extends AnimatedWidget {
|
||||
.animate(CurvedAnimation(
|
||||
parent: animation, curve: Interval(0, 0.4, curve: Curves.ease)));
|
||||
_offset =
|
||||
Offset(_startOffset.dx, _startOffset.dy - opacityAnimation.value * 80);
|
||||
Offset(_startOffset!.dx, _startOffset!.dy - opacityAnimation.value * 80);
|
||||
|
||||
return Positioned(
|
||||
left: _offset.dx,
|
||||
|
||||
Reference in New Issue
Block a user