---
title: "Discussion on \"ENVied: the best way to handle your environment variables in Flutter\" | Hashnode"
description: "Discussion on \"ENVied: the best way to handle your environment variables in Flutter\". In this post, we will see how to properly create environment variables in a Flutter app, how to generate a Dart class and use it in our code"
url: "https://hashnode.com/posts/envied-the-best-way-to-handle-your-environment-variables-in-flutter/63c18ca7138464323b5aa026"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [ENVied: the best way to handle your environment variables in Flutter](https://blog.albertobonacina.com/envied-the-best-way-to-handle-your-environment-variables-in-flutter?utm_source=hashnode&utm_medium=feed)

In this post, we will see how to properly create environment variables in a Flutter app, how to generate a Dart class and use it in our code

Jan 13, 2023 · 3 min read · blog.albertobonacina.com  
Read the article

-   [#flutter](https://hashnode.com/tag/flutter)
-   [#dart](https://hashnode.com/tag/dart)
-   [#flutter-examples](https://hashnode.com/tag/flutter-examples)
-   [#app-development](https://hashnode.com/tag/app-development)

## Written by

[Alberto Bonacina](https://hashnode.com/@polilluminato)

@polilluminato · Bergamo, IT

  
[View profile](https://hashnode.com/@polilluminato)

Proud Software Engineer, Flutter enthusiast and Free Software activist

I love programming and I work as a Software Engineer developing web based applications and mobile apps. I'm a full stack developer, from the backend where I primarly use Node.js and MySQL on Linux Servers to the frontend where I use modern web technologies and CSS frameworks. I love to develop mobile app, especially in Android mainly in Java, and in the last year I'm using Flutter, first to experiment and in the last period to develop cross platform enterprise apps. In my spare time I like to experiment on side projects apps, ui designs, web app to improve my skills and test new ideas.

## Responses 1

Markdown supported · ⌘↵ to post

[Karanjit Randhawa](https://hashnode.com/@Karanjit)

[Jul 17, 2023](https://hashnode.com/posts/envied-the-best-way-to-handle-your-environment-variables-in-flutter/63c18ca7138464323b5aa026/comment/64b4db500470cd817f0e1edb)

Can we also create files for dev like (env.dev) and do the same process as for (.env) ?
