connection_status_bar 1.1.6 copy "connection_status_bar: ^1.1.6" to clipboard
connection_status_bar: ^1.1.6 copied to clipboard

customizable flutter widget that animates when internet connection changes.

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),
     ),
),
60
likes
130
pub points
83%
popularity

Publisher

unverified uploader

customizable flutter widget that animates when internet connection changes.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

connectivity_plus, flutter

More

Packages that depend on connection_status_bar