Created
April 12, 2019 11:29
-
-
Save vizioners/5adb593cd5d0c25f4a01e98c8410e04b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@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