Neues Popup Design #152

Merged
flixcoo merged 15 commits from feature/129-neues-popup-design into development 2026-01-13 22:01:05 +00:00
Showing only changes of commit d662680a34 - Show all commits

View File

@@ -14,7 +14,7 @@ class AnimatedDialogButton extends StatefulWidget {
/// Creates an instance of `AnimatedDialogButton`. /// Creates an instance of `AnimatedDialogButton`.
/// ///
/// The [onPressed] and [child] parameters are required. /// The [onPressed] and [child] parameters are required.
flixcoo marked this conversation as resolved Outdated

newline hinter onPressed

newline hinter `onPressed`
const AnimatedDialogButton({required this.onPressed, required this.child}); const AnimatedDialogButton({super.key, required this.onPressed, required this.child});
sneeex marked this conversation as resolved Outdated

Konstrukturo über den Variablen

Konstrukturo über den Variablen
@override @override
State<AnimatedDialogButton> createState() => _AnimatedDialogButtonState(); State<AnimatedDialogButton> createState() => _AnimatedDialogButtonState();
@@ -38,7 +38,7 @@ class _AnimatedDialogButtonState extends State<AnimatedDialogButton> {
duration: const Duration(milliseconds: 100), duration: const Duration(milliseconds: 100),
child: Container( child: Container(
decoration: CustomTheme.standardBoxDecoration, decoration: CustomTheme.standardBoxDecoration,
padding: EdgeInsets.symmetric(horizontal: 26, vertical: 6), padding: const EdgeInsets.symmetric(horizontal: 26, vertical: 6),
child: widget.child, child: widget.child,
), ),
), ),