how to build nice field in flutter code example

Example 1: text form field flutter

TextFormField(
  decoration: InputDecoration(
    labelText: 'Enter your username'
  ),
);

Example 2: flutter widget username email nice looking

return new Scaffold(  appBar: new AppBar(    title: new Text(widget.title),    actions: <Widget>[      new IconButton(icon: const Icon(Icons.save), onPressed: () {})    ],  ),  body: new Column(    children: <Widget>[      new ListTile(        leading: const Icon(Icons.person),        title: new TextField(          decoration: new InputDecoration(            hintText: "Name",          ),        ),      ),      new ListTile(        leading: const Icon(Icons.phone),        title: new TextField(          decoration: new InputDecoration(            hintText: "Phone",          ),        ),      ),      new ListTile(        leading: const Icon(Icons.email),        title: new TextField(          decoration: new InputDecoration(            hintText: "Email",          ),        ),      ),      const Divider(        height: 1.0,      ),      new ListTile(        leading: const Icon(Icons.label),        title: const Text('Nick'),        subtitle: const Text('None'),      ),      new ListTile(        leading: const Icon(Icons.today),        title: const Text('Birthday'),        subtitle: const Text('February 20, 1980'),      ),      new ListTile(        leading: const Icon(Icons.group),        title: const Text('Contact group'),        subtitle: const Text('Not specified'),      )    ],  ),);

Tags:

Misc Example