close
0

Flutter increase height of TextFormField

avatar
asked 04-09-2021

2 Answers


1
               TextFormField(
                           keyboardType: TextInputType.multiline,
                           controller: _opTextController,
                           decoration: InputDecoration(
                               isDense: true,
                             border: OutlineInputBorder(
                               borderSide: BorderSide(color: Colors.black)
                             )
                           ),
                           maxLines: 5,
                           minLines: 3,
                           // controller: cpfcontroller,
                         )
avatar
answered 04-09-2021

0
new SizedBox(
  width: 200.0,
  height: 300.0,
  child: const Card(child: const Text('Hello World!')),
)
avatar
answered 04-09-2021