From 871706b606c77eeac13bfcea67c3ce1d71203d2c Mon Sep 17 00:00:00 2001 From: Akshay Nair Date: Wed, 3 Jun 2020 14:39:52 +0530 Subject: Adds shared preferences for config/theme storage + refactors a streamstate --- lib/components/SearchableAppList.dart | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'lib/components') diff --git a/lib/components/SearchableAppList.dart b/lib/components/SearchableAppList.dart index 8e0d818..f41ba18 100644 --- a/lib/components/SearchableAppList.dart +++ b/lib/components/SearchableAppList.dart @@ -21,6 +21,8 @@ class _SearchableAppListState extends State { @override Widget build(BuildContext ctx) { + ThemeData theme = Theme.of(context); + return Column( children: [ Container( @@ -28,7 +30,9 @@ class _SearchableAppListState extends State { child: TextField( onChanged: onInput, decoration: InputDecoration( - border: InputBorder.none, + prefixStyle: TextStyle(color: Color(0xFF888888)), + prefix: Text('/'), + hintStyle: TextStyle(color: Color(0xFFD8DEE9)), hintText: 'Search', ), ), -- cgit v1.3.1