A setup is data. Adding a business is adding an entry — no new screens, no per-industry branches.
See it in action
Video tutorials for this topic
1:41Appmint One: Ready-Made Apps for Web, iPhone and Android
See why every app gets built from scratch, and what Appmint One gives you instead: real, finished apps on web, iPhone and Android for rentals, food delivery and couriers, rides, vacation stays, event tickets, online shops, courses and bookings, with live payments, maps and bookings, made yours with your name, logo and colors, Vibe Studio or our team.
Where it lives
Setups are defined in the app's config/setup.dart, in the kSetups list. The same file defines the module and role enums, the wording model and the list of renameable concepts.
What a new setup defines
| Field | Required | Notes |
|---|---|---|
id | yes | Lowercase key, used by the SETUP define and the switcher |
brand | yes | Name and colours |
modules | yes | A set drawn from the eight modules |
home | yes | Which of those modules the app opens into |
lexicon | no | The trade's words; anything unset falls back to a neutral word |
Because screens reference concepts rather than literal strings, a setup that defines no wording still renders correctly — just generically.
How the active setup is resolved
In order:
1. A runtime override. Set by the switcher, and honoured only when the build is switchable.
2. The SETUP define. --dart-define=SETUP=<id>, matched case-insensitively against the setup ids.
3. The demo setup. Used when no SETUP was given — and also when SETUP named an id that does not exist.
Locked builds and the demo build
A build is switchable when SETUP is empty, or in debug. That gives two shipping modes:
| Build | SETUP | Behaviour |
|---|---|---|
| A business's own app | SETUP=muvmnt | Locked. The switcher is inert and the app opens straight into that business |
| The demo | not set | Switchable. Opens on the setup directory and can move between every business |
This is why a release build for one customer cannot wander into another customer's branding, while the demo can show all of them.
A misspelled SETUP falls back to demo silently. A release build intended for one business would then ship with every module switched on under the Appmint One brand. The code exposes a flag for exactly this case — SETUP was given but the active setup is the demo — so check it in a smoke test rather than trusting the build command.
Roles
customer and provider only. Staff and admin stay in Studio by design. A setup with no provider side skips role selection; the root screen sends the person straight to the customer shell.