Describe the bug
Clicking the BackButton on iOS/Android returns a black screen
Edit: also if the page has a drawer, the navigator.pop method would need to be called in order to close the drawer, which accidentally invoke certain buggy behaviour of Flow Builder, thanks for any fixes.
To Reproduce
Steps to reproduce the behavior:
Set leading of app bar to BackButton
Method of BackButton: context
.flow()
.complete();
Run on any devices
Clicking the BackButton returns a black screen
Expected behavior
It works if the system back button is pressed on android. It should return to the previous page.
Paste the output of running flutter doctor -v here.
[✓] Flutter (Channel master, 1.24.0-8.0.pre.374, on macOS 11.0 20A2411 darwin-arm, locale en-HK)
[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.2)
[✓] Xcode - develop for iOS and macOS (Xcode 12.3)
[✓] Android Studio (version 4.1)
[✓] VS Code (version 1.52.1)
[✓] Connected device (1 available)
Describe the bug Clicking the BackButton on iOS/Android returns a black screen Edit: also if the page has a drawer, the navigator.pop method would need to be called in order to close the drawer, which accidentally invoke certain buggy behaviour of Flow Builder, thanks for any fixes.
To Reproduce Steps to reproduce the behavior:
Expected behavior It works if the system back button is pressed on android. It should return to the previous page.
Paste the output of running
flutter doctor -v
here. [✓] Flutter (Channel master, 1.24.0-8.0.pre.374, on macOS 11.0 20A2411 darwin-arm, locale en-HK) [✓] Android toolchain - develop for Android devices (Android SDK version 30.0.2) [✓] Xcode - develop for iOS and macOS (Xcode 12.3) [✓] Android Studio (version 4.1) [✓] VS Code (version 1.52.1) [✓] Connected device (1 available)