title: Flutter Floating Action Button location problem
body: <p>I have added a floating action button in the bottomNavigationBar. The default location should be on the bottom right, but mine stays at the center. </p>
  
  <p>I have tried using this <code>floatingActionButtonLocation: FloatingActionButtonLocation.endFloat,</code>
  but the FAB still resides at the center screen.</p>
  
  <p>Here is my full code of the screen:</p>
  
  <pre><code>Widget build(BuildContext context) {
  return Scaffold(
    appBar: PreferredSize(
      preferredSize: Size.fromHeight(55.0),
      child: CustomAppBar(title: 'Customers (2)',),
    ),
    drawer: Theme(
      data: Theme.of(context).copyWith(
          canvasColor: Colors.white
      ),
      child: MyDrawer(),
    ),
    body: Container(
      padding: EdgeInsets.all(15.0),
      decoration: BoxDecoration(color: Colors.white),
      child: SingleChildScrollView(
        child: Column(
          children: &lt;Widget&gt;[
            Row(
              children: &lt;Widget&gt;[
                FaIcon(FontAwesomeIcons.search, color: Colors.greenAccent,),
                SizedBox(width: 15.0,),
                Text("Search Customers"),
              ],
            ),
          ],
        ),
      ),
    ),
    bottomNavigationBar: FloatingActionButton(
      child: FaIcon(FontAwesomeIcons.plus),
      backgroundColor: Colors.greenAccent,
      foregroundColor: Colors.white,
      splashColor: Colors.black,
      onPressed: () {
      },
    ),
    floatingActionButtonLocation: FloatingActionButtonLocation.endFloat,
  );
  }
  </code></pre>
  
  <p>Any idea how to solve this?</p>