Search code snippets, questions, articles...

Textfield in rows

Widget _buildUI() {
  return Row(
    children: [
      Flexible(
        child: new TextField(
          decoration: InputDecoration(
            labelText: "First Name",
          ),
        ),
      ),
      Flexible(
        child: new TextField(
          decoration: InputDecoration(
            labelText: "Last Name",
          ),
        ),
      )
    ],
  );
}
Best JSON Validator, JSON Tree Viewer, JSON Beautifier at same place.
Was this helpful?
0 Comments