From 8d2288fbb443dd7d75adc2fd8a1721b25aa4cf64 Mon Sep 17 00:00:00 2001 From: laurenspriem Date: Fri, 15 Nov 2024 15:22:27 +0530 Subject: [PATCH] [mob][photos] super key --- mobile/lib/ui/components/notification_widget.dart | 4 ++-- mobile/lib/ui/home/header_widget.dart | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/mobile/lib/ui/components/notification_widget.dart b/mobile/lib/ui/components/notification_widget.dart index 864e4c29c0..430b8a247b 100644 --- a/mobile/lib/ui/components/notification_widget.dart +++ b/mobile/lib/ui/components/notification_widget.dart @@ -25,7 +25,7 @@ class NotificationWidget extends StatelessWidget { final bool isBlackFriday; const NotificationWidget({ - Key? key, + super.key, required this.startIcon, required this.actionIcon, required this.text, @@ -33,7 +33,7 @@ class NotificationWidget extends StatelessWidget { this.isBlackFriday = false, this.subText, this.type = NotificationType.warning, - }) : super(key: key); + }); @override Widget build(BuildContext context) { diff --git a/mobile/lib/ui/home/header_widget.dart b/mobile/lib/ui/home/header_widget.dart index a322382f14..04ec237f37 100644 --- a/mobile/lib/ui/home/header_widget.dart +++ b/mobile/lib/ui/home/header_widget.dart @@ -5,8 +5,8 @@ import 'package:photos/ui/home/status_bar_widget.dart'; class HeaderWidget extends StatelessWidget { const HeaderWidget({ - Key? key, - }) : super(key: key); + super.key, + }); @override Widget build(BuildContext context) {