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

outdated

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
140
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, flutter

More

Packages that depend on connection_status_bar