felangel / flow_builder

Flutter Flows made easy! A Flutter package which simplifies navigation flows with a flexible, declarative API.
https://pub.dev/packages/flow_builder
MIT License
395 stars 65 forks source link

Native back button is finishing onboarding flow #56

Open omartinma opened 3 years ago

omartinma commented 3 years ago

Describe the bug On the Authentication example of this repo swiping to go back is working differently than the back button in the app bar To Reproduce Steps to reproduce the behavior: Case 1

  1. Go to Authentication example
  2. Click Onboarding button
  3. Click on X button in the app bar
  4. Now you are in the home of Authentication

Case 2

  1. Go to Authentication example
  2. Click Onboarding button
  3. Swipe back
  4. Now you are in the home of all examples

Expected behavior Both examples should navigate to the same route

Screenshots

https://user-images.githubusercontent.com/11978998/127826256-127ae6c5-dbca-4b6b-bb6d-439597f1b2f7.mov