network_status_bar

Last updated:

0 purchases

network_status_bar Image
network_status_bar Images
Add to Cart

Description:

network status bar

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
copied to clipboard
Import #
import 'package:network_status_bar/network_status_bar.dart';
copied to clipboard
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,
),
),
);
}
}
copied to clipboard
📷 Screenshots #

License:

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product:

Customer Reviews

There are no reviews.