yashchandnani07/stocktrack ? reverse-engineered prompt
Reverse engineered prompt
Build me a Flutter app for small teams to track stock across one or more stores. I want users to be able to sign in, create or join a store, and have different access levels like staff, manager, and owner so people can only do what they’re allowed to do. The app should let me add items and categories, record stock in and stock out in batches, and show a clear activity log of everything that happened.
It should work offline too, so people can still view cached data and make changes when the internet is down, then sync everything back to Supabase later. Please include PDF report generation and a simple settings screen where users can change the app font size. Use Supabase for auth, database, and permissions, and make sure the app is set up to run with config from env.json. If you need to check current Flutter or Supabase docs, feel free to look them up online.