title: flutter too many positional arguments
body: <p>I was trying to make both the sideview menu and search bar (textfield) in row but textfield is giving too many positional errors and i tried all possible solutions on stackoverflow and github and still dont get it .</p>
  <p>here:</p>
  <pre><code>{
  
  return Padding(
   padding:  EdgeInsets.all(30),
      child:Row(
  TextField(
     decoration: InputDecoration(
          border: OutlineInputBorder(),
          labelText: 'Search..',
          prefixIcon: Align(
            widthFactor: 1.0,
            heightFactor: 1.0,
            child: Icon( Icons.search,),),
        ),
             ),/
        
      Drawer(
    child: ListView(
      padding: EdgeInsets.zero,
      children: &lt;Widget&gt;[
        DrawerHeader(
          child: Text(
            'Side menu',
            style: TextStyle(color: Colors.white, fontSize: 25),
          ),
          decoration: BoxDecoration(
              color: Colors.green,
              image: DecorationImage(
                  fit: BoxFit.fill,
                  image: AssetImage('assets/images/cover.jpg'))),
        ),
        ListTile(
          leading: Icon(Icons.input),
          title: Text('Welcome'),
          onTap: () =&gt; {},
        ),
        ListTile(
          leading: Icon(Icons.verified_user),
          title: Text('Profile'),
          onTap: () =&gt; {Navigator.of(context).pop()},
        ),
        ListTile(
          leading: Icon(Icons.settings),
          title: Text('Settings'),
          onTap: () =&gt; {Navigator.of(context).pop()},
        ),
        ListTile(
          leading: Icon(Icons.border_color),
          title: Text('Feedback'),
          onTap: () =&gt; {Navigator.of(context).pop()},
        ),
        ListTile(
          leading: Icon(Icons.exit_to_app),
          title: Text('Logout'),
          onTap: () =&gt; {Navigator.of(context).pop()},
        ),
      ],
    ),
  ),
  
  
  
  ), 
  );  
  }
  </code></pre>