connection_status_bar 1.1.0 copy "connection_status_bar: ^1.1.0" to clipboard
connection_status_bar: ^1.1.0 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 dependecies 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
    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
0
pub points
81%
popularity

Publisher

unverified uploader

customizable flutter widget that animates when internet connection changes.

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

connectivity, flutter

More

Packages that depend on connection_status_bar