Connectivity Helper

Set up

Example

if you use this package and get

GetMaterialApp(
    debugShowCheckedModeBanner: false,
    title: 'TDD App',
    localizationsDelegates: const [
        GlobalMaterialLocalizations.delegate,
        GlobalWidgetsLocalizations.delegate,
    ],
    builder: (context, child) {
        return MediaQuery(
          data: MediaQuery.of(context)
              .copyWith(textScaler: const TextScaler.linear(1.0)),
          child: ConnectionHelperWidget(
            child: child!,
            onSessionTimeout: () {},
          ),
        );
    },
);