1
0
mirror of https://gitlab.com/comunic/comunicmobile synced 2024-11-22 21:09:21 +00:00

Improve widget

This commit is contained in:
Pierre HUBERT 2020-04-17 14:06:01 +02:00
parent 2c1ae783e3
commit 78e75cffdb

View File

@ -76,15 +76,17 @@ class _NotificationsScreenState extends State<NotificationsScreen> {
child: CircularProgressIndicator(), child: CircularProgressIndicator(),
); );
return Column( return Container(
children: [ height: double.infinity,
Expanded(
child: Stack(children: [ child: Stack(children: [
RefreshIndicator( Container(
height: double.infinity,
child: RefreshIndicator(
key: _refreshKey, key: _refreshKey,
child: _buildBody(), child: _buildBody(),
onRefresh: _loadList, onRefresh: _loadList,
), ),
),
// Add conversation button // Add conversation button
Positioned( Positioned(
right: 20.0, right: 20.0,
@ -95,8 +97,6 @@ class _NotificationsScreenState extends State<NotificationsScreen> {
), ),
), ),
]), ]),
)
],
); );
} }