Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Future<void> _refreshData() async {
- user = await SpecificWant().getUserByIdfromFb(user!.id);
- setState((){
- print(user?.userName);
- });
- body: RefreshIndicator(
- onRefresh: _refreshData,
- child: CustomScrollView(
- slivers: <Widget>[
- TopBoard(user: user,),
- SliverList(
- delegate: SliverChildBuilderDelegate((BuildContext context, int index) {
- if (index > 0) return nul
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement