title: Resize Flutter FloatingActionButton
body: <p>I can't figure out how to make the FAB smaller inside the first Container in the list. It seems to want to occupy the complete container, no matter what I try. Ive even tried a container within a container. The complete Orange area is clickable. I tried SizedBox, same result. Here is the code. </p>
  
  <pre class="lang-dart prettyprint-override"><code>import 'package:flutter/material.dart';
  
  void main() =&gt; runApp(MyApp());
  
  class MyApp extends StatelessWidget {
    @override
    Widget build(BuildContext context) {
      final title = 'Horizontal List';
  
      return MaterialApp(
        title: title,
        home: Scaffold(
          appBar: AppBar(
            title: Text(title),
          ),
          body: Container(
            margin: EdgeInsets.symmetric(vertical: 20.0),
            padding: EdgeInsets.all(30),
            height: 200.0,
            child: ListView(
              scrollDirection: Axis.horizontal,
              children: &lt;Widget&gt;[
                Container(
                  width: 160,
                  color: Colors.yellowAccent,
                  child: SizedBox(
                    height: 50,
                    width: 50,
                    child: FittedBox(
                      child: FloatingActionButton(
                        backgroundColor: Colors.deepOrange,
                        foregroundColor: Colors.indigo,
                        child: Icon(Icons.add, size: 20),
                        onPressed: () {},
                      ),
                    ),
                  ),
                ),
                Container(
                  width: 160.0,
                  color: Colors.red,
                ),
                Container(
                  width: 160.0,
                  color: Colors.blue,
                ),
                Container(
                  width: 160.0,
                  color: Colors.green,
                ),
                Container(
                  width: 160.0,
                  color: Colors.yellow,
                ),
                Container(
                  width: 160.0,
                  color: Colors.orange,
                ),
              ],
            ),
          ),
        ),
      );
    }
  }
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/0cN91.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/0cN91.png" alt="enter image description here"></a></p>