From 9a9cc27029b79cd39fc92568b8267ec45eebdbb9 Mon Sep 17 00:00:00 2001
From: Matthew Patrick <Matthew.535200018@stu.untar.ac.id>
Date: Mon, 16 May 2022 16:01:20 +0700
Subject: [PATCH] search_form - Fixed Text Color

---
 lib/components/search_form.dart | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

diff --git a/lib/components/search_form.dart b/lib/components/search_form.dart
index 50b7d0a..bbb4f84 100644
--- a/lib/components/search_form.dart
+++ b/lib/components/search_form.dart
@@ -23,6 +23,7 @@ class _SearchFormState extends State<SearchForm> {
   Widget build(BuildContext context) {
     return Form(
       child: TextFormField(
+        style: TextStyle(color: Colors.white),
         controller: searchController,
         decoration: InputDecoration(
           filled: true,
@@ -52,9 +53,11 @@ class _SearchFormState extends State<SearchForm> {
                   ),
                 ),
                 onPressed: () {
-                  Navigator.push(context, MaterialPageRoute(
-                    builder: (context) => SearchPage(query: searchController.text)
-                  ));
+                  Navigator.push(
+                      context,
+                      MaterialPageRoute(
+                          builder: (context) =>
+                              SearchPage(query: searchController.text)));
                 },
                 child: const Text('Search'),
               ),