Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

Lint suggestions

Neeraj Guptaed231c22608a
diff --git a/mobile/lib/ui/common/bottom_shadow.dart b/mobile/lib/ui/common/bottom_shadow.dart
index 17157b5a2e..f6e8bee046 100644
--- a/mobile/lib/ui/common/bottom_shadow.dart
+++ b/mobile/lib/ui/common/bottom_shadow.dart
@@ -3,8 +3,7 @@ import 'package:flutter/material.dart';
class BottomShadowWidget extends StatelessWidget {
final double offsetDy;
final Color? shadowColor;
- const BottomShadowWidget({this.offsetDy = 28, this.shadowColor, Key? key})
- : super(key: key);
+ const BottomShadowWidget({this.offsetDy = 28, this.shadowColor, super.key});
@override
Widget build(BuildContext context) {
diff --git a/mobile/lib/ui/common/loading_widget.dart b/mobile/lib/ui/common/loading_widget.dart
index ad97a07caf..ffdc438901 100644
--- a/mobile/lib/ui/common/loading_widget.dart
+++ b/mobile/lib/ui/common/loading_widget.dart
@@ -11,8 +11,8 @@ class EnteLoadingWidget extends StatelessWidget {
this.size = 14,
this.padding = 5,
this.alignment = Alignment.center,
- Key? key,
- }) : super(key: key);
+ super.key,
+ });
@override
Widget build(BuildContext context) {