finish up for the day

This commit is contained in:
zoe 2022-09-26 19:28:46 +02:00
parent 2fe67e7964
commit 429cca8ddb
1 changed files with 23 additions and 15 deletions

View File

@ -112,22 +112,8 @@ class _NotificationsState extends State<Notifications> {
@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<Notifications> {
),
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))
],
),
),
),
],
);
}