internet_popup 1.0.8+5 copy "internet_popup: ^1.0.8+5" to clipboard
internet_popup: ^1.0.8+5 copied to clipboard

A package for popUp message when Internet connection is off. Write one line to initialize a popUp when internet connection is turned off or connected but no internet.

example/example.md

Example #

import 'package:flutter/material.dart';
import 'package:internet_popup/internet_popup.dart';

class Example extends StatefulWidget {
  const Example({Key? key}) : super(key: key);

  @override
  _ExampleState createState() => _ExampleState();
}

class _ExampleState extends State<Example> {
  @override
  void initState() {
    super.initState();
    InternetPopup().initialize(context: context);
  }

  @override
  Widget build(BuildContext context) {
    return Container();
  }
}


53
likes
70
points
2
downloads

Publisher

unverified uploader

Weekly Downloads

A package for popUp message when Internet connection is off. Write one line to initialize a popUp when internet connection is turned off or connected but no internet.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

connectivity_plus, flutter, internet_connection_checker

More

Packages that depend on internet_popup