network_status_bar 0.1.8 copy "network_status_bar: ^0.1.8" to clipboard
network_status_bar: ^0.1.8 copied to clipboard

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.8

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 #

2
likes
30
pub points
8%
popularity

Publisher

unverified uploader

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

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

connectivity, flutter

More

Packages that depend on network_status_bar