From d662680a340371d9d901315394af533f1c23648d Mon Sep 17 00:00:00 2001 From: Mathis Kirchner Date: Tue, 13 Jan 2026 20:46:42 +0100 Subject: [PATCH] fix dart analysis errors --- lib/presentation/widgets/buttons/animated_dialog_button.dart | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/presentation/widgets/buttons/animated_dialog_button.dart b/lib/presentation/widgets/buttons/animated_dialog_button.dart index cf49c19..42104b2 100644 --- a/lib/presentation/widgets/buttons/animated_dialog_button.dart +++ b/lib/presentation/widgets/buttons/animated_dialog_button.dart @@ -14,7 +14,7 @@ class AnimatedDialogButton extends StatefulWidget { /// Creates an instance of `AnimatedDialogButton`. /// /// The [onPressed] and [child] parameters are required. - const AnimatedDialogButton({required this.onPressed, required this.child}); + const AnimatedDialogButton({super.key, required this.onPressed, required this.child}); @override State createState() => _AnimatedDialogButtonState(); @@ -38,7 +38,7 @@ class _AnimatedDialogButtonState extends State { duration: const Duration(milliseconds: 100), child: Container( decoration: CustomTheme.standardBoxDecoration, - padding: EdgeInsets.symmetric(horizontal: 26, vertical: 6), + padding: const EdgeInsets.symmetric(horizontal: 26, vertical: 6), child: widget.child, ), ),