cabin_booking
cabin_booking copied to clipboard
[Bug] Floating SnackBar presented off screen
Describe the bug
════════ Exception caught by rendering library ═════════════════════════════════
The following assertion was thrown during performLayout():
Floating SnackBar presented off screen.
A SnackBar with behavior property set to SnackBarBehavior.floating is fully or partially off screen because
some or all the widgets provided to Scaffold.floatingActionButton, Scaffold.persistentFooterButtons and
Scaffold.bottomNavigationBar take up too much vertical space.
Consider constraining the size of these widgets to allow room for the SnackBar to be visible.
The relevant error-causing widget was
Scaffold
To Reproduce
Steps to reproduce the behavior:
- Start the app
- Go to the Bookings page
- Create a new Booking
- See the error
Expected behavior
The SnackBar is visible after creating the booking.
System information
- Device: MacBook Pro
- OS: macOS 13.2.1
- Flutter version: 3.7.6