connection_status_bar

A widget that animates when internet connection changes.

connection_status_bar

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(
    // default title
    title: Text(
        'Please check your internet connection',
        style: TextStyle(color: Colors.white, fontSize: 14),
    ),
    color: Colors.redAccent, // default color
),

GitHub

https://github.com/bardiarastin/connection_status_bar