What is a Spacer widget?

Aakash Rajput
Aakash Rajput

Posted On: Mar 29, 2020

 

The Spacer class is used to create an adjustable, empty space. This empty space is used to manage the space between the widgets with the flex container. Spacer takes flex in the constructor to define the space.

    Related Questions

    Please Login or Register to leave a response.

    Related Questions

    Flutter Interview Questions

    Explain What is Flutter?

    An open-source UI SDK, Flutter is developed by Google to develop UI for Android, iOS, Windows, Mac, and other major platforms. Initially released in May 2017, Flutter enables you to create natively co...

    Flutter Interview Questions

    Enlist some major features of Flutter?

    Some of the major features of using Flutter is, Fast Development - With the use of a rich set of fully customizable widgets, you can build native interfaces in minutes with Flutter. Expressive and ...

    Flutter Interview Questions

    List some advantages of Flutter?

    Some advantages of using Flutter are,With Flutter, you can use the same UI and Business logic on all platforms. Flutter reduces the time of building application as it applies the changes instant...