Plugin to checker data connection network.

Overview

ci_connectivity

OBS: For now we don't have IOS support

Getting Started

Flutter plugin for checking network connection. It is not just checking if you are connected to Wifi or Mobile network, this plugin provides a validation with connection to the google server to determine if there is or is not the possibility of making a connection.

Usage

The simplest way to use the plugin is with the checkConnection method, which returns a boolean value to identify whether a connection exists.

import 'package:ci_connectivity/ci_connectivity.dart';

if (CiConnectivity().checkConnection) {
    // is connected
} else {
    // is not connected
}

We also offer a listener to listen for change in connection status.

import 'package:ci_connectivity/ci_connectivity.dart';

final ciConnectivity = CiConnectivity();

ciConnectivity.loopVerifyStatus();
ciConnectivity.onListenerStatusNetwork.listen((event) {
    print(event);
});

It is still possible to use an interface helper, if you want a simple visual implementation of the resource. Can be used as Future or Stream.

import 'package:ci_connectivity/helpers/ci_connectivity_builder.dart';

CiConnectivityBuilder(
    withStream: true, // indicates whether it will be rendered with a StreamBuilder
    childOnConnected: Text('connected'),
    childOnDisconnected: Text('diconnected'),
)
You might also like...

Meme Network is the creative powerhouse that supercharges your Meme projects with the World's First Layer 1 solution in the Cosmos Ecosystem.

Meme Network is the creative powerhouse that supercharges your Meme projects with the World's First Layer 1 solution in the Cosmos Ecosystem.

MEME Chain How to Join MEME Mainnet Recommended system setup 4 core CPU Memory: 4GB Disk: 100GB Ubuntu 20.04 Meme Validator Node Snapshot & State-Sync

Oct 26, 2022

⚡⚡ flutter mobile dapp to register/mint domain names (.voltz) on the polygon blockchain network (mumbai)

⚡⚡ flutter mobile dapp to register/mint domain names (.voltz) on the polygon blockchain network (mumbai)

open-name-service connecting to wallet registering a domain on the network fetching address by domain name & viewing domain on opensea testnet .voltz

Dec 11, 2022

Flutter plugin to store data behind biometric authentication (ie. fingerprint)

biometric_storage Encrypted file store, optionally secured by biometric lock for Android, iOS, MacOS and partial support for Linux, Windows and Web. M

Jan 6, 2023

News App created in Flutter using News API for fetching realtime data and Firebase as the backend and authenticator.

News App created in Flutter using News API for fetching realtime data and Firebase as the backend and authenticator.

News Buzz News App created in Flutter using News API for fetching realtime data and Firebase as the backend and authenticator. Features Custom news fe

Dec 30, 2022

An open source encrypted peer-to-peer system. Own data, own privacy.

An open source encrypted peer-to-peer system. Own data, own privacy.

An open source encrypted peer-to-peer system. Own data, own privacy.

Jan 3, 2023

Obfuscate sensitive data in your pictures before sharing them online.

Privacy Blur A cross-platform application to obfuscate sensitive data from images, targeting iOS and Android devices. Mainly written in dart with the

Dec 30, 2022

GChat is a chatting application developed using Flutter(Dart) and firebase for 2 users. Trying to Develop an application that does not sell your data with whatsapp rolling out its privacy policy updates.

GChat is a chatting application developed using Flutter(Dart) and firebase for 2 users. Trying to Develop an application that does not sell your data with whatsapp rolling out its privacy policy updates.

Gchat - The Chatting Application A Flutter project for chatting. I used Android Studio and you can you any editor of your choice for ex: VS Code, Inte

Nov 6, 2022

Indonesia Corona data viewer using flutter

corona_app A new Flutter project. Getting Started Clone this project git clone https://github.com/athallahmaajid/Indonesia-Corona-App.git Development

Mar 3, 2022

An android app built using flutter that displays and forecast the specific city Weather and Climate for dynamic time event by collecting the data from API that is provided for free by OPENWEATHER site.

clima_weather_reporter A new Flutter application. Getting Started This project is a starting point for a Flutter application. A few resources to get y

Feb 3, 2022
Owner
Lucas Firmino
Desenvolvedor Web Tecnologias e Frameworks: PHP, HTML5, CSS3, Javascript, JQuery, Laravel, Bootstrap, Materialize
Lucas Firmino
A coronavirus statistics, news and general information app with a symptom checker. 🚀

Corona Spectator Corona Spectator is a coronavirus statistics and news app that has real time global COVID-19 stats. It includes useful tips to help g

Carlton Aikins 26 Oct 8, 2022
A Flutter plugin for handling Connectivity and REAL Connection state in the mobile, web and desktop platforms. Supports iOS, Android, Web, Windows, Linux and macOS.

cross_connectivity A Flutter plugin for handling Connectivity and REAL Connection state in the mobile, web and desktop platforms. Supports iOS, Androi

MarchDev Toolkit 29 Nov 15, 2022
Encrypted peer-to-peer system for data security. Own data, own privacy

ESSE (Encrypted Symmetrical Session Engine) An open source encrypted peer-to-pee

CympleTech 455 Dec 26, 2022
Communication Network between Patient & Doctor

DrComm X-Legion-Coders - DrComm - Health Project is made under Scaler HackX hackathon Problem Statement Improve medical and emergency communication So

Ayush Kejariwal 3 Dec 30, 2021
Flutter network manager package.

Features With Network Manager, you can now easily manage your internet requests, send and receive data. Usage Set Base URL Settings Base URL -> Networ

Sercan KAYA 14 Dec 4, 2022
Meow App with animations, beautiful UI and network call

Meow app Meow App with animations, beautiful UI and network call. Each time you tap a new gif loads. Used API : (https://cataas.com/cat/gif) Screensho

null 1 Nov 2, 2021
Instagram is a free, online photo-sharing application and social network platform

Instagram is a free, online photo-sharing application and social network platform that was acquired by Facebook in 2012. Instagram allows users to edit and upload photos and short videos through a mobile app.

Behruz Hurramov 4 Dec 6, 2022
Minimal zenon.network JS SDK

znn.js znn.js is a community-backed javascript SDJ for the zenon.network project. The implementation is based on the official Dart SDK. Minimal requir

Alien Valley 10 May 19, 2022
Showwcase is a professional network built for developers to connect, build community, and find new opportunities.

Showwcase Generated by the Very Good CLI ?? Showwcase is a professional network built for developers to connect, build community, and find new opportu

Luis Ciber 4 Jan 13, 2022
A cryptocurrency, crypto-currency, or crypto is a digital currency designed to work as a medium of exchange through a computer network that is not reliant on any central authority

A cryptocurrency, crypto-currency, or crypto is a digital currency designed to work as a medium of exchange through a computer network that is not reliant on any central authority, such as a government or bank, to uphold or maintain it.

Prashant Kumar Singh 10 Dec 3, 2022