title: flutter put drawer content right to left
body: <p>Dear Flutter developers </p>
  
  <p>How to put my drawer content from right to left including the account information.the picture is included for result and you can see the texts are in left side, but I want to put them in right side or in center at least.
  Thanks</p>
  
  <p>my code is as bellow :</p>
  
  <pre><code>  endDrawer: Drawer(
  
            child: new Column(
                textDirection: TextDirection.rtl,
  
                children: &lt;Widget&gt; [
                  Padding(
                    padding:
                    const EdgeInsets.only(top: 22.0, left: 42.0, right: 42.0),
  
                  ),
                  new UserAccountsDrawerHeader(
  
                    currentAccountPicture: new CircleAvatar (
  
                      backgroundColor: Colors.blue,
                      child: Image.asset("assets/img/logo.png"),
  
                    ),
  
                    accountName: Text("عنوان",style: TextStyle(
                      fontFamily: "Bahij",
                      fontSize: 14,
                    ),textAlign: TextAlign.center,),
                    accountEmail:
  
                    Text("ایمیل آدرس[![enter image description here][1]][1]" ,style: TextStyle(
                      fontFamily: "Bahij",
                      fontSize: 14,
                    ),textAlign: TextAlign.center,textDirection: TextDirection.rtl),
  
  
                  )
                ]
            )
        ),
  
  </code></pre>