title: Flutter Icon Button Speed Dial
body: <p>Is there an existing speed dial widget that would work with regular buttons or any onclick event? I have found <a href="https://pub.dev/packages/flutter_speed_dial" rel="nofollow noreferrer">this</a> widget which works great with the FloatingActionButton, but I need something that would work with an IconButton or RaisedButton. I tried using the SpeedDial Widget inside of a container, like so:</p>
  <pre><code>Container(
                    child: SpeedDial(
                      overlayOpacity: 0.2,
                      animatedIcon: AnimatedIcons.menu_close,
                      children: [
                        SpeedDialChild(
                          child: Icon(Icons.ac_unit),
                          label: 'Second',
                          onTap: () =&gt; print('SECOND'),
                        ),
                        SpeedDialChild(
                          child: Icon(Icons.accessibility),
                          backgroundColor: Colors.red,
                          label: 'First',
                          labelStyle: TextStyle(fontSize: 18.0),
                          onTap: () =&gt; print('FIRST'),
                        ),
                      ],
                    ),
                  ),
  </code></pre>
  <p>But no luck, unfortunately. I get an infinity pixels on the right.</p>