Customize Your Flutter Environment with Dart Define | Step-by-Step Tutorial

Sdílet
Vložit
  • čas přidán 28. 07. 2024
  • Unlock the full potential of Flutter development by learning how to customize your environment using the powerful Dart Define feature! In this comprehensive tutorial, we'll guide you through the step-by-step process of changing your Flutter environment variables with Dart Define.
    Whether you're a beginner or an experienced Flutter developer, understanding and harnessing this feature can significantly enhance your workflow and make your app development more efficient. Join us on this coding journey as we explore the ins and outs of Dart Define, providing practical examples and tips along the way. Don't miss out on this essential skill that can take your Flutter projects to the next level! #Flutter #DartDefine #fluttertutorialforbeginners
    If you like my work
    Support Me on Ko-Fi : ko-fi.com/afzalali15
    Join this channel to get access to perks:
    czcams.com/users/CodeXDevjoin
    Gears ========
    Camera 📸 || Canon 250D : amzn.to/34isdKr
    Mic 🎤 || Maono AU-04 : amzn.to/341g9wS
    #CodeX
    Connect with me on social media:
    FB: / codexdevs
    Twitter: / afzalali_dev
    LinkedIn: / afzalali15
    Discord: / discord

Komentáře • 30

  • @faizandarwesh9606
    @faizandarwesh9606 Před 6 měsíci

    This is amazing. Thanks alot!

  • @canavarox
    @canavarox Před 4 dny

    tks for the video! but i need more guide about building project to release and it will be automatically use production env

  • @pravinprince3221
    @pravinprince3221 Před 6 měsíci

    Thank you for the wonderful video brother

  • @johnalejandrogarciaarias9756

    Very useful! Thanks!

  • @okokokokokok5173
    @okokokokokok5173 Před 6 měsíci

    Useful Thanks!

  • @shamschannel225
    @shamschannel225 Před 6 měsíci

    🔥 Fire 🔥

  • @gracilianofontes9280
    @gracilianofontes9280 Před 6 měsíci

    I have to add a comment cause this video is simply the best explanation about environment in flutter. Thanks a lot.

  • @shaurya8024
    @shaurya8024 Před 4 měsíci +1

    Ok first thing
    You are an amazing developer
    Excellent ui designer
    I watch you previous videos😁
    &
    I have a request
    Please make a flutter Firebase wallpaper app tutorial (front end and back end)
    I did the research and found that there are no videos on flutter Firebase wallpaper app on youtube
    All developer who are student and others search a lot about a flutter Firebase wallpaper app
    We found tutorial on flutter wallpapers app but we don't need any api integration (no api)
    We need a flutter Firebase app
    We need a app which have Firebase as a storage (no api, like pixels or nothing)
    And hear is an outline
    1 Home screen (resent wallpaper)
    2 Category screen
    3 Favorite screen
    4 Setting (profile, auto change wallpaper, notifications, and other settings)
    5 we can download wallpaper, set as home/lock/both as wallpaper
    Simple and clean app look
    (Optional:- random wallpaper and Trending wallpaper screen)
    Please make if you can
    We will learn a lot about Firebase from it
    And scince no one have made video on this i am sure your video will gain lots of views
    Thanks
    And make complete app (frontend and backend)

  • @nhatbui5984
    @nhatbui5984 Před 5 měsíci

    Thanks

  • @NonstopChannel
    @NonstopChannel Před měsícem

    Your video and solution are great, but it has problems running with Xcode, can you tell me how to fix it? Thank you.

  • @ravronz9677
    @ravronz9677 Před 2 měsíci

    Thanks bro this was very informative.

    • @CodeXdev
      @CodeXdev  Před 2 měsíci +1

      Glad it was helpful!

  • @ibnumalikmudzopar4270
    @ibnumalikmudzopar4270 Před 5 měsíci

    how to get collection within collection bro

  • @f4zii
    @f4zii Před 6 měsíci +1

    thanks. Personally I use envied package

  • @behroozvalikhani9156
    @behroozvalikhani9156 Před 6 měsíci

    Is this method correct in terms of security? Have you tested if Extract the APK file. Is there a env folder in it along with the Json files?

    • @CodeXdev
      @CodeXdev  Před 6 měsíci

      Nice point, I will check if the json files are compiled to .so library or not. If it does compile to .so library like the remaining .dart code then there is no issue with security

  • @rehmanshaikh6772
    @rehmanshaikh6772 Před 23 dny

    if we will make CI CD pipeline then how we can set environment to deploy the same on CI CD pipeline @CodeX

    • @CodeXdev
      @CodeXdev  Před 23 dny

      The same way I have shown flutter build command, you have to keep prod.json as arg

  • @ScottThoo
    @ScottThoo Před 6 měsíci +3

    Why not use Flutter Flavor?

    • @CodeXdev
      @CodeXdev  Před 6 měsíci +1

      Nice suggestion, but flavors have more configuration then just changing environment.. Its perfect choice when you want to modify application level settings like icon, name etc.
      Where as dart-define works perfectly for changing dart level code compile time!

  • @CodeRBk
    @CodeRBk Před 6 měsíci +2

    sir one project in hindi getx using

    • @CodeXdev
      @CodeXdev  Před 6 měsíci +1

      This channel is only for English content, shall I make videos in Hindi on another channel?

  • @manishmg3994
    @manishmg3994 Před 6 měsíci

    a better way for that kind of problem , i have the solution

    • @CodeXdev
      @CodeXdev  Před 6 měsíci

      What solution you use?

    • @manishmg3994
      @manishmg3994 Před 6 měsíci

      @@CodeXdev , i prefer flavors for my release , flutter_flavorizr , flavor_getter, and reference is Injectable video from ressocoder

  • @tasaddaqrandhawa4219
    @tasaddaqrandhawa4219 Před 6 měsíci

    Thank you for sharing ❤‍🩹

  • @codex8797
    @codex8797 Před 2 měsíci +2

    Thanks bro, really helped