Skip to content

Commit f921210

Browse files
badleejogboms
authored andcommitted
Update README.md
1 parent d50b8c7 commit f921210

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,8 @@ class DemoPage extends StatelessWidget {
3131
title: new Text("Offline Demo"),
3232
),
3333
body: OfflineBuilder(
34+
checkHost : true, // check if internet is avaiable by a DNS request , the default value is false
35+
// hostToCheck : "my.domaine.name", // the default value is google.com
3436
connectivityBuilder: (
3537
BuildContext context,
3638
ConnectivityResult connectivity,

0 commit comments

Comments
 (0)