From 4af3683b73ad65e87c2d7e9b20c0e98344455b24 Mon Sep 17 00:00:00 2001 From: marco Date: Thu, 16 Jul 2026 16:10:22 +0200 Subject: [PATCH] changed dropdownmenu and button theme --- lib/app_theme.dart | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/lib/app_theme.dart b/lib/app_theme.dart index 96da459..7c147ac 100644 --- a/lib/app_theme.dart +++ b/lib/app_theme.dart @@ -34,6 +34,26 @@ class AppTheme { side: BorderSide(color: colorScheme.secondaryContainer, width: 2), ), ), + elevatedButtonTheme: ElevatedButtonThemeData( + style: ButtonStyle( + minimumSize: WidgetStatePropertyAll(Size(0, 56)), + shape: WidgetStateOutlinedBorder.resolveWith( + (states) => + RoundedRectangleBorder(borderRadius: universalBorderRadius), + ), + ), + ), + dropdownMenuTheme: DropdownMenuThemeData( + inputDecorationTheme: InputDecorationThemeData( + border: OutlineInputBorder(borderRadius: universalBorderRadius), + ), + menuStyle: MenuStyle( + shape: WidgetStateOutlinedBorder.resolveWith( + (states) => + RoundedRectangleBorder(borderRadius: universalBorderRadius), + ), + ), + ), ); } }