100x faster with GET_CLI || flutter setup tutorial

Sdílet
Vložit
  • čas přidán 10. 04. 2022
  • In this video, I have discussed some common commands of get_cli to setup the project, page and views quickly with Flutter.
    get_cli helps to setup feature first folder for all the pages with bindings, controllers, pages and route entry.
    Install package globally:
    pub global activate get_cli
    Site:
    pub.dev/packages/get_cli
    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 • 90

  • @aminelahrim8142
    @aminelahrim8142 Před 2 lety +11

    I worked with get cli in a lot of my production apps and it’s so cool

    • @CodeXdev
      @CodeXdev  Před 2 lety

      In fact, I tried it in one of my project and loving it 🥰

  • @abhishake5678
    @abhishake5678 Před 2 lety +1

    I want to fork this repo and add alot of features. Thanks for providing an awesome base :)
    Will be using for my freelance projects for sure

  • @ninjacoder620
    @ninjacoder620 Před rokem +1

    Amazing content like always!

  • @nahiyanbasmeh709
    @nahiyanbasmeh709 Před 2 lety

    thank you for the explanation!!! Appreciate your work

  • @devan6001
    @devan6001 Před 2 lety +11

    It's better to have videos explaining MVC structure with provider or Bloc in flutter (without get_cli and after with get_cli). Because what i miss here is the understanding on how it's structure (if they were drawing or schemas, it will be fantastic)

  • @AbdulSalam-nr9kw
    @AbdulSalam-nr9kw Před rokem

    Bro, I just wanna say you are amazing. Thanks for uploading such a nice content. I like the way speak, and presentation and also you don't request for subscribing the channel and you are not wasting time, just come to the main point and explain practically.

  • @rafales1525
    @rafales1525 Před 2 lety +1

    Thank you Afzal 😊 It looks promising 😉

    • @CodeXdev
      @CodeXdev  Před 2 lety

      Hope you will use it your next project 🎉👍🏼

  • @ai_malllu
    @ai_malllu Před 2 lety

    Always unique content

  • @kunj_kanani
    @kunj_kanani Před 2 lety +1

    Sir you are doing awesome job.

  • @raghav042
    @raghav042 Před 2 lety

    I'm going to use these tricks now

  • @juanmacias5922
    @juanmacias5922 Před 2 lety +1

    That's so useful!

  • @hmathiralazad5680
    @hmathiralazad5680 Před 2 lety

    Ow. I loved it man.

  • @tharukerajapaksha3652
    @tharukerajapaksha3652 Před 2 lety

    Great video sir

  • @sharathbnaik3232
    @sharathbnaik3232 Před 2 lety

    Sprb. 🔥

  • @jailsoncarneiro4936
    @jailsoncarneiro4936 Před 2 lety

    Great!

  • @d_roy_
    @d_roy_ Před 2 lety +1

    I subscribed and you cannot stop me, because I loved your content!

    • @CodeXdev
      @CodeXdev  Před 2 lety

      Ohhh, I can't even remove from subscription list 😉 welcome mate!

  • @RANJEETKUMAR-wz4dg
    @RANJEETKUMAR-wz4dg Před 2 lety

    Thanks

  • @RenittoJose
    @RenittoJose Před 2 lety

    Thanks for the tutorial. Can you Please explain what is the difference between the following executable
    $ get
    $ getx

  • @sinnoorc
    @sinnoorc Před 2 lety

    💯🤗

  • @benji5589
    @benji5589 Před 2 lety

    😍

  • @stackflow4007
    @stackflow4007 Před rokem

    Can I know, what is that binding class? Is it same like a modal class?

  • @asmaashabaka8339
    @asmaashabaka8339 Před rokem

    wow

  • @KabirulIslam-km1qm
    @KabirulIslam-km1qm Před 2 lety

    When i'm creating project, it's showing like this -> No active package get_cli. What's the solution for this ?

  • @stackflow4007
    @stackflow4007 Před rokem +1

    What is the use of extending the GetView? in earlier lessons I saw, LoginView was extended using a StatelessWidget.

    • @CodeXdev
      @CodeXdev  Před rokem +1

      With GetView your view is directly associated with Controller and you don’t need to reference it explicitly.
      You can access controller with ‘controller’ keyword anywhere inside View

    • @stackflow4007
      @stackflow4007 Před rokem

      @@CodeXdev oh ok ok , thanks, So if I need to access any other controllers, need to declare again inside right?

    • @CodeXdev
      @CodeXdev  Před rokem

      Yes, if you need other controllers as well in same page you can reference it, but one with GetView is already referenced

  • @abhishake5678
    @abhishake5678 Před 2 lety

    Could you make a video on get_server please?

  • @okeyshourovroy2769
    @okeyshourovroy2769 Před 2 lety +3

    A video request on graphql and refresh token implementation in flutter 🙏🙏🙏

    • @CodeXdev
      @CodeXdev  Před 2 lety

      Not sure about Graphql but refresh token I can consider as part of API tutorial 😊

  • @ukarliptus2529
    @ukarliptus2529 Před rokem

    how to generate model with DateTime not just string

  • @lbarria11
    @lbarria11 Před 2 lety +2

    Hello how are you, I have been using get cli for some time but since the last update I am having problems creating the project because it stops at the part where you create the company name and from there it does not continue. Greetings

    • @CodeXdev
      @CodeXdev  Před 2 lety +1

      Go to .pub-cache folder inside your home directory and delete get_cli instance.
      Reinstall again and see if that helps

    • @lbarria11
      @lbarria11 Před 2 lety

      @@CodeXdev thanks i will try ir.

    • @vlogpur4529
      @vlogpur4529 Před 2 lety +1

      I'm also getting the same issue and did not get any solution. :(

    • @lbarria11
      @lbarria11 Před 2 lety

      @@CodeXdev doesnt work for me. Thanks

    • @sreejith4568
      @sreejith4568 Před 2 lety

      Did you got any Solutions?

  • @lottylone7557
    @lottylone7557 Před 2 lety +1

    when i create the app, i can go only upto providing the package name. After i provide the package name the terminal stops working. Help me

    • @CodeXdev
      @CodeXdev  Před 2 lety

      There’s something wrong, I got the same feedback from 3-4 viewers till now! Hopefully there should be solution to this.. can you put this question in Getx discord

  • @BeaconofHopeNetwork
    @BeaconofHopeNetwork Před 2 lety

    Hi, i have followed your vid. I was able to install get, but i am stuck at What is your company's domain? once i hit enter, it wont go down to the next question

    • @CodeXdev
      @CodeXdev  Před 2 lety

      Try deactivating and activate again
      dart pub global deactivate get_cli
      dart pub global activate get_cli

    • @BeaconofHopeNetwork
      @BeaconofHopeNetwork Před 2 lety

      @@CodeXdev did the above command, and when doing get create page:test it gave me this error "File not found in pubspec.yaml"

    • @CodeXdev
      @CodeXdev  Před 2 lety

      You cannot run this command outside your project, first you need to jump to project directory.. simply you can open VS Code and run this command in terminal

  • @flutterquick
    @flutterquick Před 2 lety

    hello
    Please give us a tutorial for image, Button.... like u do on textfield detailedthe.
    ❤❤❤❤

  • @Juliapak
    @Juliapak Před rokem

    can you go over an example with googlemaps and getx?

    • @CodeXdev
      @CodeXdev  Před rokem +1

      Hey.. to be honest its the same as I have explained in my GoogleMap tutorial. Only thing that your map controller will be inside the GetXcontroller class.

    • @Juliapak
      @Juliapak Před rokem

      @@CodeXdev I will look. But I’m having a problem with setstate and changing to a stateless widget

  • @mohamdjamal6266
    @mohamdjamal6266 Před 2 lety

    Cli generated file for routing but how can we edit it for /product/:id ?

    • @Sukhcha_in
      @Sukhcha_in Před 2 lety +1

      *Just add it like this:*
      static const PRODUCT = '/product/:slug';
      *For routing to this route you can simply use:*
      Get.toNamed('/product/my-product-slug');

    • @mohamdjamal6266
      @mohamdjamal6266 Před 2 lety

      @@Sukhcha_in yes but in the rout path they wrote do not edit this file? So what can i do?

    • @Sukhcha_in
      @Sukhcha_in Před 2 lety

      @@mohamdjamal6266 no need to worry about that, you can edit paths without any issue.

  • @xikmat_dev
    @xikmat_dev Před rokem +1

    Does it work on Windows OS?

    • @CodeXdev
      @CodeXdev  Před rokem

      Absolutely! It works everywhere. Just run below command in cmd
      dart pub global activate get_cli

  • @mhddedekyansyah4720
    @mhddedekyansyah4720 Před 2 lety +1

    I'm stuck on the domain name, how I solve this problem?

    • @CodeXdev
      @CodeXdev  Před 2 lety

      try "dart pub global activate get_cli"

    • @AbdullahGad95
      @AbdullahGad95 Před rokem

      ctrl+z then enter worked for me

  • @md.ruhulamin7963
    @md.ruhulamin7963 Před 2 lety

    After enter "What is your company's domain" my terminal is stacked,

    • @CodeXdev
      @CodeXdev  Před 2 lety

      you have to write company domain in reverse, eg. com.google

  • @retrogamerdaddy
    @retrogamerdaddy Před 2 lety

    Can someone explain how we can extend a statefull or stateless widget class with basecontroller which already extends get controller

    • @CodeXdev
      @CodeXdev  Před 2 lety

      Why should you do that? your widget should be separate than controller.
      You need to reference controller inside the Stf/Stl widget, either using GetView or var controller = Get.put(ControllerClass());

  • @dipeshbadal4567
    @dipeshbadal4567 Před 2 lety

    is this the new concept in getx or what???

    • @CodeXdev
      @CodeXdev  Před 2 lety

      Nope, it’s template generation tool that helps you setup your project faster.. yes, it’s part of get ecosystem

  • @codegambit2507
    @codegambit2507 Před 2 lety

    I think I prefer Riverpod

  • @raghav042
    @raghav042 Před 2 lety

    get is not recognised as internal or external command, after activating get cli

    • @CodeXdev
      @CodeXdev  Před 2 lety

      If you restarted terminal then it might happen, you need to add '/Users/afzal/.pub-cache/bin' to your PATH.
      This is for mac, you can replace with your folder name.. for windows also there should be some pub-cache directory, so add it to PATH and you are good to go after restart as well.

  • @galacticashunnek1354
    @galacticashunnek1354 Před rokem

    flutter cli

  • @koyom90
    @koyom90 Před 2 lety

    I think you should start talking about other state management getx wont be here long

    • @CodeXdev
      @CodeXdev  Před 2 lety +1

      Well, if it happens then surely we all need to find better alternatives

    • @degroria
      @degroria Před 2 lety

      It will be bro. The docs says it will be maintained as far as flutter lives

  • @olawoleoyedele4212
    @olawoleoyedele4212 Před 2 lety

    I mistakenly hit the subscribe button, sorry😩

  • @india_med
    @india_med Před rokem +1

    Who knows about installing get cli to Windows? Actually this way is not working on Windows.

    • @CodeXdev
      @CodeXdev  Před rokem

      have you tried "dart pub global activate get_cli"

  • @ajaykotiyal427
    @ajaykotiyal427 Před rokem

    I think so many unnecessary automation there. we will have to take care of code.

  • @jithu8794
    @jithu8794 Před 2 lety

    Time to move on from getx stuffs, they are no longer maintained

    • @CodeXdev
      @CodeXdev  Před 2 lety +1

      Thats not true, check the pre-release version of Get package -> pub.dev/packages/get/versions/5.0.0-beta.51

  • @voicheci007
    @voicheci007 Před 2 lety

    Again with this GET shit? Unsubscribed, thanks

    • @CodeXdev
      @CodeXdev  Před 2 lety +1

      Best of luck 👍🏼

    • @jerryarekhandia1003
      @jerryarekhandia1003 Před 2 lety

      Fine, you can leave. Some folks don't just know what the heck their problem is.

  • @mirmoktadir2170
    @mirmoktadir2170 Před 2 lety

    brother please make some videos on API interation with getx specially post methode....with complex nested json datya

    • @CodeXdev
      @CodeXdev  Před 2 lety +1

      Will upload soon, thank you for the feedback