How to manage two user roles in flutter?

I am building an MVP for a two-user type flutter mobile app,(eg: Like a delivery app with a driver and a rider).

Since is an MVP is it efficient to keep both user types in one application and switch app states depending on the type of the user and their role?

Back to Top