diff --git a/lib/src/ui/screens/checkup/checkup_progress_bar.dart b/lib/src/ui/screens/checkup/checkup_progress_bar.dart index 6876318..a63a466 100644 --- a/lib/src/ui/screens/checkup/checkup_progress_bar.dart +++ b/lib/src/ui/screens/checkup/checkup_progress_bar.dart @@ -39,7 +39,8 @@ class CheckupProgressBar extends StatelessWidget { ), RaisedButton( onPressed: () => - Provider.of(context).nextPage( + Provider.of(context, listen: false) + .nextPage( duration: Duration(milliseconds: 400), curve: Curves.easeInOut, ),