title: How to change a specific Icon color in flutter?
body: <p>I'm trying to change an IconButton's color when the user clicks on it, I've tried setting a state when user clicks on it, but the problem is that every Icon in the page changes color i want this to happen to the buttons that user clicks not all of them, these icons are for social media posts so i cant define a variable.</p>
  
  <pre><code>                     Padding(
                    padding: EdgeInsets.fromLTRB(15.0, 15.0, 15.0, 10.0),
                    child : Row(
                      mainAxisAlignment: MainAxisAlignment.end,
                      children: [
  
  
                        IconButton(
                          icon: Icon(
                              Icons.favorite_border,
                              color: Colors.black,
                              size : 25.0
                          ),
                          onPressed: () {
  
                          },
                        ),
                        Text(
                          '29k',
                          style: TextStyle(
                            color : Colors.black,
                            fontSize: 15.0,
                          ),
                        ),
                        SizedBox(width: 10.0,),
                        IconButton(
                          icon: Icon(
                              Icons.question_answer,
                              color: _likeButtonColor,
                              size : 25.0
                          ),
                          onPressed: () {
                            print(games[index]['posts']);
                            setState(() {
                              _likeButtonColor = Colors.red;
                            });
                          },
  
                        ),
                        Text(
                          '1312',
                          style: TextStyle(
                            color : Colors.black,
                            fontSize: 15.0,
                          ),
                        )
  
  
                      ],
                    ),
                  ),
  </code></pre>