mirror of
https://gitlab.com/comunic/comunicmobile
synced 2024-11-25 22:39:22 +00:00
Improve widget
This commit is contained in:
parent
2c1ae783e3
commit
78e75cffdb
@ -76,27 +76,27 @@ class _NotificationsScreenState extends State<NotificationsScreen> {
|
|||||||
child: CircularProgressIndicator(),
|
child: CircularProgressIndicator(),
|
||||||
);
|
);
|
||||||
|
|
||||||
return Column(
|
return Container(
|
||||||
children: [
|
height: double.infinity,
|
||||||
Expanded(
|
child: Stack(children: [
|
||||||
child: Stack(children: [
|
Container(
|
||||||
RefreshIndicator(
|
height: double.infinity,
|
||||||
key: _refreshKey,
|
child: RefreshIndicator(
|
||||||
child: _buildBody(),
|
key: _refreshKey,
|
||||||
onRefresh: _loadList,
|
child: _buildBody(),
|
||||||
),
|
onRefresh: _loadList,
|
||||||
// Add conversation button
|
),
|
||||||
Positioned(
|
),
|
||||||
right: 20.0,
|
// Add conversation button
|
||||||
bottom: 20.0,
|
Positioned(
|
||||||
child: FloatingActionButton(
|
right: 20.0,
|
||||||
onPressed: () => _deleteAllNotifications(),
|
bottom: 20.0,
|
||||||
child: Icon(Icons.delete),
|
child: FloatingActionButton(
|
||||||
),
|
onPressed: () => _deleteAllNotifications(),
|
||||||
),
|
child: Icon(Icons.delete),
|
||||||
]),
|
),
|
||||||
)
|
),
|
||||||
],
|
]),
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user