From b26207af5644b288910062e050130a99daebb159 Mon Sep 17 00:00:00 2001 From: Aaldn Date: Sun, 11 Feb 2024 16:54:46 +0100 Subject: [PATCH] feat: remove underline from locale button --- .../general/presentation/widgets/locale_button.dart | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/lib/src/features/general/presentation/widgets/locale_button.dart b/lib/src/features/general/presentation/widgets/locale_button.dart index 608ed84..73d94f4 100644 --- a/lib/src/features/general/presentation/widgets/locale_button.dart +++ b/lib/src/features/general/presentation/widgets/locale_button.dart @@ -22,17 +22,7 @@ class LocaleButton extends ConsumerWidget { dropdownColor: Theme.of(context).colorScheme.primary, focusNode: FocusNode(canRequestFocus: false), focusColor: Colors.transparent, - underline: Container( - height: 1, - decoration: BoxDecoration( - border: Border( - bottom: BorderSide( - color: Theme.of(context).colorScheme.onSurface, - width: 0, - ), - ), - ), - ), + underline: const SizedBox.shrink(), items: languages.mapIndexed((index, language) { return DropdownMenuItem( value: Locale(language.code ?? ""),