How to check Internet Connection in Flutter App? (Android & IOS)

preview_player
Показать описание
In this vide you will see how to check Internet Connection using connectivity_plus package and design no internet page in Flutter App.

TIMELINE
0:00 Demo
0:26 Use connectivity_plus Package
0:44 Create a StreamBuilder widget
1:12 Import connectivity_plus in the home page
1:38 Add if else to check the snapshot status
2:42 Create loading widget
3:20 Create connected widget
4:18 Create no internet widget
7:20 Check internet with pre-defined function

#internet #check #views #widget #stream #builder
#Flutter #Tutorial #RapidTechnology @flutterdev @FlutterCool
LIKE & SHARE & ACTIVATE THE BELL
Thanks For Watching :-)
Рекомендации по теме
Комментарии
Автор

Is there a way to check if there is internet using the CircularProgressIndicator widget?

viniciusbruno
Автор

what about the scenario where the device is connected but no internet is there?

sharathsheety
Автор

Thanks. But note that it only works when "connection status is changed". It won't work when you start the app with no connection

HUTIENLAN
Автор

Pwde po ba yan, sa mga VPN lng na network tsaka yung connected lang sa Wifi pero wala naman data?? please po thanks

slays