Skip to content

Instantly share code, notes, and snippets.

@vizioners
Created April 12, 2019 11:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save vizioners/5adb593cd5d0c25f4a01e98c8410e04b to your computer and use it in GitHub Desktop.
Save vizioners/5adb593cd5d0c25f4a01e98c8410e04b to your computer and use it in GitHub Desktop.
@override
Widget build(BuildContext context) {
return new Scaffold(
key: scaffoldKey,
appBar: new AppBar(
title: new Text(
"Gird view pull refresh",
style: TextStyle(color: Colors.white),
),
),
body: RefreshIndicator(
key: _refreshIndicatorKey,
onRefresh: _refresh,
child: new Stack(
children: <Widget>[
_buildSuggestions(),
_loader(),
],
),
),
);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment