online_status_checker 0.0.1+1 copy "online_status_checker: ^0.0.1+1" to clipboard
online_status_checker: ^0.0.1+1 copied to clipboard

discontinued

Online Status Checker is an easy to use widget that show an info page if the device is offline.

example/lib/main.dart

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

void main() async {
  runApp(MaterialApp(
    home: OnlineStatusChecker(
      child: HomePage(),
    ),
  ));
}

class HomePage extends StatelessWidget {
  const HomePage({Key? key}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: Text('Online Status Checker'),
      ),
      body: Center(
        child: Text(
          'You are Online!',
          style: Theme.of(context).textTheme.headline4,
        ),
      ),
    );
  }
}
4
likes
80
pub points
0%
popularity

Publisher

verified publisherak.gen.tr

Online Status Checker is an easy to use widget that show an info page if the device is offline.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

Dependencies

flutter, internet_connection_checker

More

Packages that depend on online_status_checker