title: Flutter - how to change textcolor in search delegate class?
body: <p>I managed to change the <code>hintStyle</code>-color </p>
  
  <p><a href="https://i.stack.imgur.com/Vjk7t.png" rel="noreferrer"><img src="https://i.stack.imgur.com/Vjk7t.png" alt="hintstyle"></a></p>
  
  <pre><code>@override
  ThemeData appBarTheme(BuildContext context) {
    return ThemeData(
      primaryColor: kPrimaryColor,
      primaryIconTheme: IconThemeData(
        color: Colors.white,
      ),
      inputDecorationTheme: InputDecorationTheme(
        hintStyle:
          Theme.of(context).textTheme.title.copyWith(color: Colors.white),
      ),
    );
  }
  </code></pre>
  
  <p>But if i type something into the appbar searchfield, the color is still black...</p>
  
  <p><a href="https://i.stack.imgur.com/FOZcv.png" rel="noreferrer"><img src="https://i.stack.imgur.com/FOZcv.png" alt="enter image description here"></a></p>
  
  <p><strong>How can I properly change the <code>textcolor</code> in the <code>SearchDelegate</code> class?</strong></p>