network_status_bar 0.1.5

Flutter Android iOS web

Create network status bar detect your device online/offline with slide animation.

network_status_bar #

Create network status bar check your device is online/offline with simple slide animation.

Getting Started #

This project is a starting point for a Dart package, a library module containing code that can be shared easily across multiple Flutter or Dart projects.

For help getting started with Flutter, view our online documentation, which offers tutorials, samples, guidance on mobile development, and a full API reference.

Installing #

dependencies:
  network_status_bar: ^0.1.5

Import #

import 'package:network_status_bar/network_status_bar.dart';

Usage #

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

class OnlineOffinePage extends StatelessWidget {
  OnlineOffinePage({
    Key key,
  }) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: Text(
          'network status bar',
        ),
      ),
      body: NetworkStatusBar(
        child: Container(
          height: 300,
          color: Colors.yellow,
        ),
      ),
    );
  }
}

📷 Screenshots #

0
likes
80
pub points
37%
popularity

Create network status bar detect your device online/offline with slide animation.

Repository (GitHub)
View/report issues

Documentation

API reference

Uploader

leduytho1810@gmail.com

License

MIT (LICENSE)

Dependencies

connectivity, flutter

More

Packages that depend on network_status_bar