Skip to content

Flutter connection status bar, widget that animates when internet connection changes

License

Notifications You must be signed in to change notification settings

chuanpham/connection_status_bar

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

connection_status_bar

A widget that animates when internet connection changes

Getting Started

add it to your dependencies then use it anywhere on your app, usually in a widget that is on top of all of your widgets.

ConnectionStatusBar(
     height : 25, // double: default height
     width : double.maxFinite, // double: default width
     color : Colors.redAccent, // Color: default background color
     lookUpAddress : 'google.com', // String: default site to look up for checking internet connection
     endOffset : const Offset(0.0, 0.0), // Offset: default animation finish point offset
     beginOffset : const Offset(0.0, -1.0), // Offset: default animation start point offset
     animationDuration : const Duration(milliseconds: 200), // Duration: default animation duration
     // Text: default text
     title : const Text(
       'Please check your internet connection',
       style: TextStyle(color: Colors.white, fontSize: 14),
     ),
),

About

Flutter connection status bar, widget that animates when internet connection changes

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Dart 69.7%
  • Ruby 22.2%
  • Swift 4.2%
  • Kotlin 3.5%
  • Objective-C 0.4%