diff --git a/lib/presentation/themes/indicators/search_field_theme.dart b/lib/presentation/themes/indicators/search_field_theme.dart index 3df2101..ec5a3af 100644 --- a/lib/presentation/themes/indicators/search_field_theme.dart +++ b/lib/presentation/themes/indicators/search_field_theme.dart @@ -51,6 +51,8 @@ class ThemedSearchField extends HookWidget { final boxDecoration = BoxDecoration(borderRadius: BorderRadius.circular(2)); final inputDecoration = InputDecoration( + isDense: true, + contentPadding: const EdgeInsets.symmetric(horizontal: 15), // 2. Remove vertical padding to let it center filled: true, fillColor: backgroundColor ?? Colors.white, // contentPadding: const EdgeInsets.symmetric(vertical: 12, horizontal: 15), @@ -99,8 +101,10 @@ class ThemedSearchField extends HookWidget { child: TextFormField( controller: controller, onChanged: onChanged, + textAlignVertical: TextAlignVertical.center, // 4. This centers the typing text and hint decoration: inputDecoration, validator: validator, + style: GoogleFonts.poppins(fontSize: 12), // Keep text size appropriate for height 30 ), ), );