connectivity_handler 0.0.4 copy "connectivity_handler: ^0.0.4" to clipboard
connectivity_handler: ^0.0.4 copied to clipboard

You can handle your internet connectivity easily using this package.

Connectivity_Handler

Features #

You can easily check network connectivity without any hassle.Just pass your widget in dart ConnectivityHandler()

Installation #

Add the latest version of package to your pubspec.yaml (and rundart pub get):

dependencies:
  connectivity_handler: ^0.0.4

Usage #

TODO: Include short and useful examples for package users. Add longer examples to /example folder.

class ExampleScreen extends StatelessWidget{

  const ExampleScreen({Key? key}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return SafeArea(
      child: Scaffold(
        appBar: AppBar(title: const Text("Example Screen")),
        body: ConnectivityHandler(const Text("Use your own widget")),
      ),
    );
  }
}

Import #

import 'package:connectivity_handler/connectivity_handler.dart';
1
likes
140
pub points
31%
popularity

Publisher

unverified uploader

You can handle your internet connectivity easily using this package.

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (LICENSE)

Dependencies

connectivity_plus, flutter, get

More

Packages that depend on connectivity_handler