Custom Widget in Flutter

Поделиться
HTML-код
  • Опубликовано: 26 ноя 2024

Комментарии • 15

  • @vishalmakam7291
    @vishalmakam7291 4 месяца назад

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

  • @kunj_kanani
    @kunj_kanani 4 месяца назад

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

  • @sa_lihrecords8687
    @sa_lihrecords8687 4 месяца назад +1

    I always use custom widgets in my all projects 🎉

    • @CodeXdev
      @CodeXdev  4 месяца назад +1

      That's awesome!

  • @abaz-1000
    @abaz-1000 4 месяца назад

    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  4 месяца назад +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 4 месяца назад

    How do that favorite page by api getx ?

  • @ayanahmad4
    @ayanahmad4 4 месяца назад

    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  4 месяца назад

      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 4 месяца назад

      @@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  4 месяца назад

      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 4 месяца назад

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

  • @kerryjackson8294
    @kerryjackson8294 Год назад

    How can I find the code for this video?

    • @CodeXdev
      @CodeXdev  Год назад

      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 4 месяца назад

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