check-internet-connectivity
Open repos and models their makers tagged check-internet-connectivity, most starred first. The same for everyone.
GitHubRepo
Check Connection Internet with Flutter
Search GitHub and Hugging Face for check-internet-connectivity