Connectivity_plus Flutter

flutter pub add connectivity_plus

// or you can use this

  connectivity_plus:
Perfect Pollan