I’ve implemented a page in FlutterFlow that displays data (non-editable) from a single record in a Firebase collection. I’ve added a toggle button on this page that switches the page into an “edit mode.” When this toggle is activated:
1. The boolean field is updated,
2. The page reloads to display editable fields and
3. A “Save” button allows users to save changes to the record.
After saving, the page reloads again, returning to the original view with non-editable fields.
I’m debating whether this approach—having a single page that toggles between view-only and edit modes—is a better practice than creating two separate pages: one for viewing data and another for editing it.
Sorry the image is not related to the post, but it required me to upload something.