title: Flutter web - On hover how to change Flatbutton TEXT color
body: <p>Hi im working on Flutter web and when i <strong>hover</strong> flatbutton i wanna change the text color. Its on hover not on pressed. But how do i detect/know its been hovered, so i can manage the state color. Thanks</p>
  <pre><code>FlatButton(
                color: Colors.white, 
                textColor: Colors.teal[700], //when hovered text color change
                shape: RoundedRectangleBorder(
                  borderRadius: BorderRadius.circular(5),
                  side: BorderSide(
                    color: Colors.teal[700],
                  ),
                ),
                onPressed: () {},
                child: Text(&quot;Log in&quot;),
              ),
  </code></pre>