Custom Widget in Flutter

Sdílet
Vložit
  • čas přidán 7. 09. 2024

Komentáře • 15

  • @sa_lihrecords8687
    @sa_lihrecords8687 Před měsícem +1

    I always use custom widgets in my all projects 🎉

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

    nice, custom widgets are most usefule trick when making dynamic applications. I already done it...

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

    I am huge fan of flutter themes. I feel that making custom widget hard to maintain in multi theme scenarios.

  • @abaz-1000
    @abaz-1000 Před měsícem

    Please have some patient to read it
    I have problem with items in grid view builder.
    If i use container and give it specific width and height then use gridview builder to repeat it specific times then the container loses the size i gave.
    No problem, i can resize it using childAspectRatio but another issue is that the container’s width increases if the device’s screen width increases so how do i fix that?
    I want the container inside gridview builder to have width size that doesn’t increase if the device’s screen width increases

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

      Apologies :) It's actually a very old video, recently changed it to public from members only.
      Talking about GridView and ListView, they need parent to define size. Try using SizedBox instead of container if you only intent to provide width and height.
      If you can share reproducible DartPad gist then I will be happy to look into your code.

  • @GG-kr5il
    @GG-kr5il Před měsícem

    How do that favorite page by api getx ?

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

    Hello sir, really like your videos. These are very informative and helpful ❤
    There's a small request
    It would be very helpful if you could make video on push notification without using any third party service. I want the notification still comes even if application is terminated.
    Currently, i am using socketio using nodejs and socketio client in flutter. And connecting to the socket in background using flutter_background_service package.
    But the problem is, as soon as i terminate the application, the socket disconnects.
    I want it to stay connected even if application is terminated

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

      Hello, thanks for comment!
      Push notifications are provided directly by system, so All you need is FCM and APNS configurations.
      On app side, configure Android and iOS to receive notification and you can add firebase packages to handle notifications.

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

      @@CodeXdev Thanks for the information 😊❤️
      I just wanted to know if we can do this without using any third party service like firebase or others.

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

      Firebase is not third party in case of android!
      On iOS it’s done by APNS and on Android it’s done with FCM, they are the notification provider, without that notification cannot work.
      As you mentioned socketio, these are third parties. And you don’t really need it. It just gives some extra features and easy to manage portals

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

      @@CodeXdev ok sir, thank you so much for the info 😊❤️

  • @kerryjackson8294
    @kerryjackson8294 Před rokem

    How can I find the code for this video?

    • @CodeXdev
      @CodeXdev  Před rokem

      Hello, This code is not published on Github.. if you think it will help then I will share a public link in description

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

      copying code dosn't make you strong pause and try yourself, if you stuck then only ask admin for help.