How to give space between two Textfield in Flutter

0 votes

Hi Guys,

I have created one Flutter App. I have two text fields in this App. I want to give some space between these two text fields. How can I do that?

Sep 8, 2020 in Others by akhtar
• 38,230 points
4,163 views

1 answer to this question.

0 votes

Hi@akhtar,

There is various way to give space between two Textfilds. After one Textfield you can use the SizedBox method. Here you can specify the height of your space. You can take a reference from the below code.

Material(
                  borderRadius: BorderRadius.circular(10),
                  color: Colors.blueAccent,
                  elevation: 20,
                  child: MaterialButton(
                    minWidth: 200,
                    height: 50,
                    onPressed: () {
                    },
                    child: Text('LogIN'),
                  ),
                ),
                SizedBox(
                  height: 50,
                )

To know more, join our Flutter Course today.

answered Sep 8, 2020 by MD
• 95,440 points

Related Questions In Others

0 votes
1 answer

How to add a send button inside TextField in Flutter?

Hi@akhtar, You can use decoration inside your TextField. ...READ MORE

answered Sep 10, 2020 in Others by MD
• 95,440 points
23,511 views
0 votes
1 answer

How to make rounded TextField in flutter?

Hi@akhtar, You can use decoration inside your TextField. This has ...READ MORE

answered Sep 10, 2020 in Others by MD
• 95,440 points
3,664 views
0 votes
1 answer

How to clear TextField Entered Text automatically in Flutter?

Hi@akhtar, You can control the TextField in your ...READ MORE

answered Sep 10, 2020 in Others by MD
• 95,440 points
36,561 views
0 votes
1 answer

How to check the connected device name in Flutter?

Hi@akhtar, Flutter has its command own command to ...READ MORE

answered Jul 17, 2020 in Others by MD
• 95,440 points
7,143 views
0 votes
1 answer

What is the future of flutter?

Hi@MD, Flutter is a rather new cross-platform framework ...READ MORE

answered Jul 17, 2020 in Others by akhtar
• 38,230 points
902 views
0 votes
1 answer

What is Flutter?

Hi@akhtar, Flutter is an app SDK for building ...READ MORE

answered Jul 17, 2020 in Others by MD
• 95,440 points
1,067 views
0 votes
1 answer

How to install Flutter in Windows system?

Hi@akhtar, You can follow the below-given steps to ...READ MORE

answered Jul 17, 2020 in Others by MD
• 95,440 points
1,513 views
0 votes
1 answer

How to add Icon to the TextField in Flutter App?

Hi@akhtar, You can add any Icon to your ...READ MORE

answered Sep 3, 2020 in Others by MD
• 95,440 points
4,783 views
0 votes
1 answer

How to give organization name in Flutter App?

Hi@akhtar, You can give the organization name at ...READ MORE

answered Sep 4, 2020 in Others by MD
• 95,440 points
4,037 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP