The argument type 'void Function(ConnectivityResult)' can't be assigned to the parameter type 'void Function(List)?'. _connectivity.onConnectivityChanged.listen(_serviceChange); what fix that ?
sir it work only when you close the app and open i mean work only in the main what if i have 10 screen ? i don't know but for me it not work well if you have more then 1 screen.
The argument type 'void Function(ConnectivityResult)' can't be assigned to the parameter type 'void Function(List)?'. _connectivity.onConnectivityChanged.listen(_serviceChange); what fix that ?
connectivity_plus: ^5.0.2 use this version then work
@@devhubspot it doesn't worked
sir it work only when you close the app and open i mean work only in the main what if i have 10 screen ?
i don't know but for me it not work well if you have more then 1 screen.
This work because the network service method call main.ts
Can you share your pc configuration