Check Internet Connection Like a SENIOR in Flutter - Globally

Поделиться
HTML-код
  • Опубликовано: 29 мар 2023
  • 📄This tutorial gives you examples of how to check the internet connection globally in Flutter.
    📁 Source Code
    🔗 github.com/mahdinazmi/Flutter...
    ⚡ SUBSCRIBE HERE⚡
    🔗 cutt.ly/2XkZz0X
    🌐 Social Media
    🔗 Linkedin: / mahdinazmi
    / taimoorghafar
    🔗 GitHub: github.com/mahdinazmi
    github.com/taimoor522
    🔗 Twitter: / mahdinazmi
    #flutter #fluttertutorial #flutterwidgets #fluttercourse #flutterinhindi

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

  • @kaustubhbavane-oq3nb

    The argument type 'void Function(ConnectivityResult)' can't be assigned to the parameter type 'void Function(List)?'

  • @user-wb9xp6qq5y

    Straightforward video, thank you! for this, however, I am facing a problem, when my internet connection is off and I open the app, I don't see the snack bar? Could you please help me to show the snack bar, when the internet connection is already off?

  • @Ayan-od8hk

    The only problem is that it only shows, if device is connected to network, not whether there is active internet

  • @SuddenlyAPotatoAppears

    The video would be perfect if it stil worked correctly

  • @SMAppshub
    @SMAppshub Год назад +1

    It's Working .Thank You So much. But it is not working at the beginning ,i mean if user Connection turn off and user open the app, it's not working, it is only working in inside the app Connection turn off and turn on . how can we make it work in the beginning.

  • @abishekab21
    @abishekab21 28 дней назад

    Giving an error in the lime that's supposed to listen

  • @ManpreetSingh-hq3dw

    When i pass _udateconnectivityresult in listen then its showing error iff anybody know plz let me know

  • @lukamandic9694

    This is great, but I have a question. Why it does not work when you try to start the app while not connected to the net? Can we make it work in that case too? Thanks

  • @adityaaggarwal0

    if someone is struggling to display snackbar, the part where you write the snackbar code to display "No Internet", also add the same ssnackbar in else condition ( change the text to "internet found ")inside the if block, this worked for me!

  • @morrigan_ghost
    @morrigan_ghost Год назад +2

    great tutorial. Btw as i heard many of flutter devs don't like getx

  • @faithtutsacademy7

    Simple and to the point. Thanks

  • @talhasezer4
    @talhasezer4 Год назад +2

    This feature is really cool and easy to understand thanks to you. You got a new subscriber my friend. <3

  • @thenightguy6816

    Can we do this using get_it package if so how would you approach this using get_it and connectivity_plus.

  • @tanvirislam8748
    @tanvirislam8748 Год назад +2

    Exactly you hit the pick point thanks ❤

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

    Your videos are pure gold.

  • @specksdude

    Bro you saved my whole day

  • @kurdev101

    Keep going, thanks a lot . ❤

  • @mrHachem

    thank you a lot you saved me a week of work take my subscribtion

  • @user-vg7lo9fq9y
    @user-vg7lo9fq9y Год назад +1

    This is really great, Kindly make video on Provider & RiverPod too!

  • @HelaFARHATI

    hello , thanks a lot for this explanation , i just want to ask if I'm already using bloc for state management is it okay to implement this code , or is there anyway I can do it using bloc?