diff --git a/lib/page/search/search_view.dart b/lib/page/search/search_view.dart index 375008a..5b85e81 100644 --- a/lib/page/search/search_view.dart +++ b/lib/page/search/search_view.dart @@ -80,17 +80,13 @@ class SearchView extends GetView { child: Container( height: 40.w, alignment: Alignment.center, - padding: const EdgeInsets.symmetric(horizontal: 10).w, margin: const EdgeInsets.all(16).w, decoration: BoxDecoration( - borderRadius: BorderRadius.circular(50).r, - color: const Color(0xff141414)), + borderRadius: BorderRadius.circular(50).r, + color: const Color(0xff141414), + ), child: Row( children: [ - Image.asset( - width: 24.w, - Assets.searchIcon, - ), 10.horizontalSpace, Expanded( child: TextField( @@ -103,13 +99,21 @@ class SearchView extends GetView { style: TextStyle( color: Colors.white, fontSize: 14.sp, + height: 1.4, ), decoration: InputDecoration( - border: InputBorder.none, - hintText: "Title", + icon: Image.asset( + width: 24.w, + Assets.searchIcon, + ), + hintText: 'Title', hintStyle: TextStyle( - color: const Color(0xff47474A), - fontSize: 14.sp, + height: 1.4, + fontSize: 14.sp, + color: const Color(0xff47474A)), + contentPadding: const EdgeInsets.symmetric( + vertical: -10, + horizontal: -10, ), ), ), @@ -194,6 +198,10 @@ class SearchView extends GetView { fontSize: 32.sp, color: const Color.fromRGBO(255, 255, 255, 0.85), ), + border: const OutlineInputBorder( + borderSide: BorderSide.none, + ), + counterText: "", ), ), ),