I am pushing my Flutter Web project to Vercel.
Currently using Supabase as backend.
I need to access the SUPABASE_SERVICE_ROLE_KEY environment variable for my web app to work.
I am aware of the Vercel Environment Variables but don’t know how to access them client-side.
For node.js you can do something like process.env.VARIABLE
but I cannot find dart client documentation for the same thing.
I cannot do --dart-define
because my build command will be too long.
What are my options?
6