From 6d72aa41c33bf8204d405b903764453cbb351bbf Mon Sep 17 00:00:00 2001 From: h7x4 Date: Mon, 29 Jun 2020 23:49:45 +0200 Subject: [PATCH] Update search field widget --- lib/components/search_bar.dart | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/lib/components/search_bar.dart b/lib/components/search_bar.dart index 751c684..6c2fb33 100644 --- a/lib/components/search_bar.dart +++ b/lib/components/search_bar.dart @@ -6,9 +6,12 @@ class SearchBar extends StatelessWidget { @override Widget build(BuildContext context) { - return Container( - height: 20, - width: 100, + return TextField( + controller: TextEditingController(), + decoration: InputDecoration( + labelText: 'Search', + border: OutlineInputBorder() + ), ); } } \ No newline at end of file