[mob][photos] super key

This commit is contained in:
laurenspriem
2024-11-15 15:22:27 +05:30
parent b8981be2e6
commit 8d2288fbb4
2 changed files with 4 additions and 4 deletions

View File

@@ -25,7 +25,7 @@ class NotificationWidget extends StatelessWidget {
final bool isBlackFriday; final bool isBlackFriday;
const NotificationWidget({ const NotificationWidget({
Key? key, super.key,
required this.startIcon, required this.startIcon,
required this.actionIcon, required this.actionIcon,
required this.text, required this.text,
@@ -33,7 +33,7 @@ class NotificationWidget extends StatelessWidget {
this.isBlackFriday = false, this.isBlackFriday = false,
this.subText, this.subText,
this.type = NotificationType.warning, this.type = NotificationType.warning,
}) : super(key: key); });
@override @override
Widget build(BuildContext context) { Widget build(BuildContext context) {

View File

@@ -5,8 +5,8 @@ import 'package:photos/ui/home/status_bar_widget.dart';
class HeaderWidget extends StatelessWidget { class HeaderWidget extends StatelessWidget {
const HeaderWidget({ const HeaderWidget({
Key? key, super.key,
}) : super(key: key); });
@override @override
Widget build(BuildContext context) { Widget build(BuildContext context) {