Flutter Tutorial - How To Check Internet Connectivity in Flutter | Wifi & Mobile

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

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

  • @HeyFlutter
    @HeyFlutter  2 года назад

    This might help you :)
    👉 12 Week Flutter Training from Newbie to Expert: heyflutter.com
    Source Code: github.com/JohannesMilke/check_connection_example
    Publish Flutter App On PlayStore Tutorial: ruclips.net/video/g0GNuoCOtaQ/видео.html
    Get IP Address Tutorial: ruclips.net/video/qitGrisWCPw/видео.html
    Cached Network Image Tutorial: ruclips.net/video/6wvD-Z-9ZRM/видео.html
    Precache Images Tutorial: ruclips.net/video/R9md60dIwd0/видео.html
    Google Sign In With Firebase Tutorial: ruclips.net/video/1k-gITZA9CI/видео.html
    User Profile Page UI Tutorial: ruclips.net/video/gSl-MoykYYk/видео.html
    Fix Bottom Overflowed By Pixels Tutorial: ruclips.net/video/voARoVV_EDI/видео.html
    Take Screenshot Tutorial: ruclips.net/video/rABnaF-Xk3E/видео.html
    Page Transition Animation Tutorial: ruclips.net/video/_R3E_aof69c/видео.html
    Deploy Flutter Web App With Firebase Tutorial: ruclips.net/video/xJo7Mqse960/видео.html
    Flutter Upgrade Tutorial: ruclips.net/video/0QC7S1nUmpY/видео.html
    Native Splash Screen Tutorial: ruclips.net/video/8ME8Czqc-Oc/видео.html
    Change App Icon Tutorial: ruclips.net/video/n3r2kgnqhfo/видео.html
    Change Package Name & Bundle ID Tutorial: ruclips.net/video/vyhxHlx8bik/видео.html
    Create Flutter Project For AppStores Tutorial: ruclips.net/video/4f1AO-f-jYQ/видео.html
    Upload Flutter Project To GitHub Tutorial: ruclips.net/video/HPnB1tSs4C8/видео.html
    Run App On Real Device Tutorial: ruclips.net/video/aohkII1C4JY/видео.html
    Run App On Android Emulator Tutorial: ruclips.net/video/QjgmTiD8prA/видео.html
    Null Safety Tutorial: ruclips.net/video/Q_WloMNKOkU/видео.html
    Create PDF Invoice Tutorial: ruclips.net/video/z_5xkhEkc5Y/видео.html
    Flutter Layout Basics Tutorial: ruclips.net/video/yYxueTNIDlA/видео.html

  • @mahi4movie
    @mahi4movie 3 года назад +1

    I almost watched every video of yours and every video helped my app with new and better enhancements. Thanks a ton :)

  • @rottler35
    @rottler35 3 года назад +4

    Video request: How to handle sensor information in Flutter
    You always deliver great vids!

  • @visitsrivikram
    @visitsrivikram 2 года назад

    Thank you Mike! Helped me solve my internet connectivity check issues in a hour. big help

    • @HeyFlutter
      @HeyFlutter  2 года назад

      Glad I could be of help, Thank you Sri Vikram! 😊

  • @da_7402
    @da_7402 3 года назад +1

    You are doing great job God bless you.

  • @powerping374
    @powerping374 3 года назад +3

    Very useful for my project, thanks!
    What about doing a video concerning BLoC-architecture?

  • @BhanteSubhuti
    @BhanteSubhuti 3 года назад

    Whenever I need to know how to do something.. if there is a video by you or another, I know your standard videos will be good.

  • @djcrustfr
    @djcrustfr 3 года назад

    Thanks and good job. Don't stop to share your experience with us.

  • @memokid4134
    @memokid4134 17 дней назад

    Thank you, that’s helpful

    • @HeyFlutter
      @HeyFlutter  16 дней назад

      Glad it was helpful, @memokid4134 😀

  • @meshu_amare
    @meshu_amare 3 года назад

    Thank you very much for helping us again.

  • @abdulazizaboujib5590
    @abdulazizaboujib5590 3 года назад +5

    Thanks for the short and nice explanation 😁 is it possible to make the listening to internet connection running on the whole application and prevent user from using the application if he does not have internet connection ? Or it should be done seperately on each screen ?

    • @ebrahimmansur9815
      @ebrahimmansur9815 3 года назад +2

      you can make service (interface that exposes a stream for higher level modules to use) with the package as dependency

  • @Rimtay
    @Rimtay 2 года назад

    You're the best. Thanks for this video!

  • @Sampelmind81
    @Sampelmind81 2 года назад

    Sehr gut erklärt, danke!

  • @user-zi3nf1cv1z
    @user-zi3nf1cv1z 3 года назад +2

    Great. How to make this internet connectivity subscribtion work on multi screen app?

    • @ebrahimmansur9815
      @ebrahimmansur9815 3 года назад +2

      you can make a class the depend on the packages 📦 and expose the stream for higher level modules

    • @user-zi3nf1cv1z
      @user-zi3nf1cv1z 3 года назад

      I wish, this tutorial will be updated to cover my question😊

  • @ahmedjawad7350
    @ahmedjawad7350 3 года назад

    helpful & easy:) thanks Joh.

  • @mohammedhamdan5323
    @mohammedhamdan5323 2 года назад

    does it smart as mush as there is a connection but no internet access . such as hotel wifi ? from these packages you mentioned

  • @mrverdant13
    @mrverdant13 3 года назад

    Great video, my friend!

  • @vongsiloryongpao6026
    @vongsiloryongpao6026 3 года назад +2

    Great as always !!! Those who clicked the "Dislike" button must clicked the "WRONG" button, I think :)

  • @mebondify
    @mebondify 2 года назад

    Great One but one Question I have sent app to background and Its do not have Internet connection. Is this behave like this. Is there a way to keep internet alive even app in background.
    thank you

  • @ridwanbolajiomotosho9015
    @ridwanbolajiomotosho9015 3 года назад

    Thank you for the tutorial every time.
    Can you kindly make a tutorial on PGP encryption?

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

    hi mike, i have tried this: setState(() => this.hasInternet = hasInternet);
    but it says "A value of type 'InternetConnectionStatus' can't be assigned to a variable of type 'bool'". what could be the issue?

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

      Hey, @muhammadrasul1581 🙂 please make sure the return type of your function and the type of variable do matches

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

    thx bro

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

    Is there any way in flutter to create a Wi-Fi signal range to mark attendance inside of class using Signal Srength?

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

      Thank You fareen ahmed! Follow this link: pub.dev/packages/wifi_hunter
      I hope you will get your answer 🙂

  • @LuisFernandez-cz7gb
    @LuisFernandez-cz7gb 3 года назад

    me encanto muy practico :)

  • @mustafashaikh7829
    @mustafashaikh7829 2 года назад

    Great explanation @Johanne Milke. I need one more information how can we check the Internet connection from root level(Full Application) and update The screen.??

    • @HeyFlutter
      @HeyFlutter  2 года назад

      Thank You Mustafa Shaikh! Follow this link: stackoverflow.com/questions/49648022/check-whether-there-is-an-internet-connection-available-on-flutter-app
      I hope you will get your answer 🙂

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

    why we should use internet_connection_checker on it ? does connectivity_plus cannot detect internet connection too ?

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

      Thank You Budiandra Y M! Follow this link: pub.dev/packages/connectivity_plus
      I hope you will get your answer 🙂

  • @jamlookstech4948
    @jamlookstech4948 3 года назад

    As alwayd nice video

  • @meshu_amare
    @meshu_amare 3 года назад

    Dose the code from the this video check the internet connectivity when the app is closed? i need to run some task when even connectivity is available and even if the app is terminated

    • @meshu_amare
      @meshu_amare 3 года назад

      @@HeyFlutter thank you, is that possible to check in the background

  • @Boy-tq3zy
    @Boy-tq3zy 3 года назад

    Nice !..

  • @MoAdel92
    @MoAdel92 3 года назад +1

    Why not only connectivity package?

  • @sfdsfdsgfgsfsgfsgfsgf2768
    @sfdsfdsgfgsfsgfsgfsgf2768 2 года назад

    Does this package work when the app is in the background or closed. I need something like that

    • @HeyFlutter
      @HeyFlutter  2 года назад

      Thank You sfdsfdsgf gsfsgfsgfsgf! Follow this link: pub.dev/packages/connectivity
      I hope you will get your answer 🙂

  • @AbhishekTiwari-uj7nj
    @AbhishekTiwari-uj7nj 2 года назад

    Hey how can I get the list of available WiFi around me

    • @HeyFlutter
      @HeyFlutter  2 года назад

      Thank You Abhishek Tiwari! Follow this link: stackoverflow.com/questions/64550194/flutter-get-list-of-all-near-by-wifi-networks
      I hope you will get your answer 🙂

  • @codboxer
    @codboxer 2 года назад

    When I did this an error occured. i.e The method 'showSimpleNotification' isn't defined for the type '_LoginpageState'.. How can I resolve this ?

    • @codboxer
      @codboxer 2 года назад

      @@HeyFlutter Yeh i got it. The error cleared when i just restart the android studio. Thanks MIlke :)

  • @1RRaider
    @1RRaider 3 года назад

    Great video. Is there a way to check internet strength

    • @HeyFlutter
      @HeyFlutter  2 года назад

      Thank You Raider! Follow this link: stackoverflow.com/questions/54745917/is-there-a-way-to-check-the-strength-of-internet-connection-in-flutter
      I hope you will get your answer 🙂

  • @yasiramar6385
    @yasiramar6385 3 года назад

    Expansion panel tutorial please...

  • @hardiklakhalani6268
    @hardiklakhalani6268 2 года назад

    How to make this actually Global for multi-screen?

  • @cytixify
    @cytixify 3 года назад +1

    Thank you. However, the channel name is great but so hard to recommend my friends due to its complexity

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

    how can I print the WIFI name

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

      Thank You @mohebjami! Follow this link: stackoverflow.com/questions/52498906/how-to-get-the-wifi-namessid-of-the-currently-connected-wifi-in-flutter
      I hope you will get your answer 🙂

  • @rudrasingh2207
    @rudrasingh2207 2 года назад

    This package not available on Google

    • @HeyFlutter
      @HeyFlutter  2 года назад

      Thanks, Rudra Singh! 🙂 Of course it is:
      pub.dev/packages/connectivity_plus
      pub.dev/packages/internet_connection_checker

  • @aashishhorlicks3794
    @aashishhorlicks3794 2 года назад

    How can we download pdf files from webview in flutter any easy ideas anyone 😥😥

    • @HeyFlutter
      @HeyFlutter  2 года назад

      Thank You VAI! Follow this link: stackoverflow.com/questions/56247542/how-to-download-create-pdf-through-webview-in-flutter
      I hope you will get your answer 🙂

  • @user-ui4mh1vl2b
    @user-ui4mh1vl2b Год назад

    what yiu teach nothing is getting sir
    not showing everything from scrath

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

      Thank you, @user-ui4mh1vl2b! 🙂. Try to provide enough details with your question whenever you face any issue.

  • @hashankannangara8723
    @hashankannangara8723 3 года назад

    😍😍🤘

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

    Sorry for the bother.
    But I didn't have success...
    How can I simple use it for "if" conditional?
    Thanks
    @}-'-,---------
    Gianfranco

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

      Thank you @Abbici, make sure to follow the tutorial step by step 🙂

  • @kagaidouglas6077
    @kagaidouglas6077 2 года назад

    Connectivity manager.callbackhandler : callback not found for CALLBACK message

    • @HeyFlutter
      @HeyFlutter  2 года назад

      Thank You Kagai Douglas! Follow this link: stackoverflow.com/questions/67807045/i-connected-my-flutter-chat-app-with-firebase-now-when-i-run-my-app-on-my-androi
      I hope you will get your answer 🙂