title: Re: create a dropdown button in flutter
body: <p>I have used a DropDownButton in my build but i want the arrow to be displayed at  the end and the dropdown items to be displayed from arrow, but in my app they are displaying from the top. i have attached the screenshots for your reference.</p>
  <p>please can you tell me how to change this or is there any other way to simply create a drop down menu.</p>
  <p>An example would be much appreciated.</p>
  <p>Please excuse my code as I am new to programming and any comments or suggestions are most welcome.</p>
  <p>Many Thanks,
  Mahi.</p>
  <pre><code>import 'package:flutter/material.dart';
  import 'package:flutter/widgets.dart';
  import 'dart:ui';
  
  void main(){
      runApp(new BranchSetup());
        }
        
  class BranchSetup extends StatefulWidget {
      @override
      State&lt;StatefulWidget&gt; createState() {
           return new _BranchSetupState();
            }
         } 
  
      class _BranchSetupState extends State&lt;BranchSetup&gt; with 
                                  WidgetsBindingObserver {
  
       @override
             Widget build(BuildContext context){
             return new MaterialApp(
                theme: new ThemeData(
                    primaryColor: const Color(0xFF229E9C),
                                  ),
                title: 'Branch Setup',
                home: new Scaffold(
                body: new Container(
                child: new ListView(
                  children: &lt;Widget&gt;[
                   new Container(
                     margin: const EdgeInsets.all(16.0),
                      child: new Row(
                       children: &lt;Widget&gt;[
                        new Expanded(
                          child: new TextFormField(
              decoration: new InputDecoration(                          
                         labelText: 'Branch Name',
                     ),
                  ),
                ),
              ],
            ),
           ),
            new Container(
              margin: const EdgeInsets.all(16.0),
              child:
                new DropdownButton&lt;String&gt;(
                  items: &lt;String&gt;['Mens','Womans']
                        .map((String value) {
                      return new DropdownMenuItem&lt;String&gt;(
                          value: value,
                          child: new Text(value),
                      );
                    }
                    ).toList(),
                 onChanged: null,
                  ),
              ),
  
            ],
          ),
          ),
       ),
      );
     }
  
    }
  </code></pre>
  <p><img src="https://i.stack.imgur.com/2eup9.png" alt="" /></p>