From 429cca8ddb5834b74c92ea54f688d7e818e57c64 Mon Sep 17 00:00:00 2001 From: zoe Date: Mon, 26 Sep 2022 19:28:46 +0200 Subject: [PATCH] finish up for the day --- lib/pages/notifications/notifications.dart | 38 +++++++++++++--------- 1 file changed, 23 insertions(+), 15 deletions(-) diff --git a/lib/pages/notifications/notifications.dart b/lib/pages/notifications/notifications.dart index 6dd55d7..3aeddd3 100644 --- a/lib/pages/notifications/notifications.dart +++ b/lib/pages/notifications/notifications.dart @@ -112,22 +112,8 @@ class _NotificationsState extends State { @override Widget build(BuildContext context) { return Column( + crossAxisAlignment: CrossAxisAlignment.stretch, children: [ - Container( - color: Theme.of(context).colorScheme.surface, - child: Material( - child: Row( - mainAxisAlignment: MainAxisAlignment.spaceEvenly, - children: [ - IconButton( - onPressed: () { - reload(); - }, - icon: const Icon(Icons.refresh)) - ], - ), - ), - ), Expanded( child: ListView.separated( controller: _controller, @@ -139,6 +125,28 @@ class _NotificationsState extends State { ), itemCount: notifs.length), ), + Container( + decoration: BoxDecoration( + color: Theme.of(context).colorScheme.surface, + border: Border( + top: BorderSide( + width: 2, + color: Theme.of(context).colorScheme.primary, + ))), + child: Material( + child: Wrap( + spacing: 24, + alignment: WrapAlignment.spaceEvenly, + children: [ + IconButton( + onPressed: () { + reload(); + }, + icon: const Icon(Icons.refresh)) + ], + ), + ), + ), ], ); }