Skip to content

Commit

Permalink
chore: add close IconButton
Browse files Browse the repository at this point in the history
  • Loading branch information
aince42 committed Feb 27, 2025
1 parent 4c6c040 commit df0b487
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import 'package:enmeshed_ui_kit/enmeshed_ui_kit.dart';
import 'package:flutter/material.dart';
import 'package:go_router/go_router.dart';
import 'package:permission_handler/permission_handler.dart';
import 'package:vector_graphics/vector_graphics.dart';

Expand Down Expand Up @@ -48,6 +49,8 @@ class DrawerNotificationsPageState extends State<DrawerNotificationsPage> with W
context.l10n.drawer_notifications,
style: Theme.of(context).textTheme.titleMedium!.copyWith(color: Theme.of(context).colorScheme.onPrimaryContainer),
),
const Spacer(),
IconButton(onPressed: () => context.pop(), icon: const Icon(Icons.close)),
],
);

Expand Down

0 comments on commit df0b487

Please sign in to comment.