Skip to content

Commit

Permalink
feat: remove underline from locale button
Browse files Browse the repository at this point in the history
  • Loading branch information
AladdineDev committed Feb 11, 2024
1 parent 5131505 commit b26207a
Showing 1 changed file with 1 addition and 11 deletions.
12 changes: 1 addition & 11 deletions lib/src/features/general/presentation/widgets/locale_button.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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<Locale>(
value: Locale(language.code ?? ""),
Expand Down

0 comments on commit b26207a

Please sign in to comment.