connectivity_helper 1.0.1 connectivity_helper: ^1.0.1 copied to clipboard
A package has implements connectivity_plus and local_session_timeout. build for esier use
Connectivity Helper #
Set up #
- connectivity_plus : https://pub.dev/packages/connectivity_plus
- local_session_timeout: https://pub.dev/packages?q=local_session_timeout
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: () {},
),
);
},
);