Really good video, short and concise. Showed everything I needed to know about the package.
@manueltylan8276 ай бұрын
Such an excellent way to explain things. The tutorial is a whole environment variable package! Kudos!🎉
@vancityexe2 жыл бұрын
I was stuck on trying to figure this out for wayyy too long until I watched this. Thanks alot man!
@AaronKelton3 жыл бұрын
At 8:06 are the "release modes" just another way of saying "Flutter Flavors"? If so, would you call these release modes "inline flavors"? I.e. the flavor is handled in a single file conditional rather than in main_development.dart and main_production.dart, etc. I'm trying to determine if I even need to use flutter_dotenv if I instead use flutter_flavor. Would you recommend using one instead of the other? Or can both be used together complimentary?
@paulhalliday3 жыл бұрын
Hey Aaron! In this circumstance, this would be separate from flavors. The release/profile/debug modes can be thought of as production/development build(s) that would have specific configurations. Flavors can be thought of as specific configurations of an app, so you’d want to take advantage of environment variables here too. That specific flavor can be in release/profile/debug mode depending on whether you’re building the application for production or local development. Hope that helps!
@ezhemati Жыл бұрын
that is the best solution, thank you very much
@realaliarain3 жыл бұрын
We really needed this thank you!
@paulhalliday3 жыл бұрын
Glad it helped! Any other issues you’d like covering?
@AbinPS-ov5qp7 ай бұрын
Hi Paul, Is there any way to load API_KEYS from the .env file to the AndroidManifest.xml file? Can you guide me to store my GMap_API_KEY safely and retrieve it?
@yordanyordanov44662 жыл бұрын
HI, thank you for this video. If you don't add these to source control, how would you set them during the build time?
@isurujn3 жыл бұрын
Thanks for this video. Short but covers everything from basics to advanced usage gradually. What's that theme you're using btw? Looks nice.
@paulhalliday3 жыл бұрын
I use Pop and Lock (marketplace.visualstudio.com/items?itemName=Luxcium.pop-n-lock-theme-vscode) in this video. Here’s a link to all my uses: developer.school/uses
@张哲-l5e Жыл бұрын
Thanks. local PC works well. But when I run in GIT Actions, "Error detected in pubspec.yaml: No file or variants found for asset: .env."
@BlockCylinder Жыл бұрын
I would love to see this addressed. The whole thing can't really be used if the app won't build in the actual production environment.
@gergesnady5572 жыл бұрын
Really good video , thank you so mush , 💖💖💖💖
@javagladiator3476 Жыл бұрын
awesome!!! thanks for sharing
@BlockCylinder Жыл бұрын
I have not implemented multiple environments but I have implemented flutter_dotenv and I've created a couple of variables including an API key. My .env file is on the .gitignore list. I'm trying to deploy via Netlify, and the build is failing because there is no .env file found. I plan to follow the guide in this video but I don't think it will help with this issue, will it? How can I implement environment variables in a Flutter app that work with Netlify or similar hosting services?
@amsyary13 жыл бұрын
great tutorial thanks man :)
@cristhianandresapolocevall89052 жыл бұрын
Greate! Thanks, but one question. For the flutter web, what's up?
@juanmacias5922 Жыл бұрын
in my experience flutter web doesn't like the file to be named '.env' you need to call it 'dotenv' or something similar.
@ramzez_uk Жыл бұрын
Wouldn't including all env files in the assets leak the dev environment in production? someone disaabmeling the files can get potentially exposure to all your environments ?
@brokercl2 жыл бұрын
great video thanks
@GustavoO6410 ай бұрын
Please, i need to see the github, anyone else have the link?
@DholaSain2 жыл бұрын
What is it giving suggestions of code all around?
@juanmacias5922 Жыл бұрын
Github Co-Pilot
@faisalfotoh19092 жыл бұрын
please explain get_cli 1.7.1 at windos
@ferdiangunawan12372 жыл бұрын
Thank you
@mustafasahin78672 жыл бұрын
VS Code Theme name ? please..
@KaBiL16 Жыл бұрын
material icons
@carlosalbertobotinacarpio56506 ай бұрын
awesome
@devillspdr2 жыл бұрын
why did you stop making flutter videos ?
@razifromli78282 жыл бұрын
tak membantu pun. dislike dislike dislike!!!
@vicenterusso2 жыл бұрын
totally unsafe. stay away from dotenv variables. easily decodable from app