title: Button that can change container background color/color for flutter
body: <p>i'm new to flutter and i'm just learning all the basic for flutter. i came across the button widget and on pressed function and i create a simple container which have a button in it like this</p>
  
  <p>here is the container </p>
  
  <pre><code>Container(
  
      child: Padding(
      padding: const EdgeInsets.only(top: 25.0, left: 30),
      child: Text("Item 1", style: TextStyle(
      color: Colors.lightBlueAccent,
      fontWeight: FontWeight.bold,
      fontSize: 20,
              ),
             ),
            ),
  </code></pre>
  
  <p>and here is the button</p>
  
  <pre><code>child: FloatingActionButton(
  
       onPressed(){},
      child: Text("+", style: TextStyle(
      fontSize: 20,
                   ),
                  ),
      backgroundColor: Colors.lightBlue,
  
                 ),
  </code></pre>
  
  <p>and i want to make the button have a function to change the container background to a certain color, like blue for example. but i cant seem to found the answer on the internet, i guess for me. is there any method which i can apply or code that i didn't know existed?</p>
  
  <p>thanks in advance!!</p>