SizedBoxExtension extension
Extension for creating spacing widgets easily Usage:
- 20.height // Creates SizedBox(height: 20)
- 10.width // Creates SizedBox(width: 10)
- 15.space // Creates SizedBox(height: 15, width: 15)
- on
Properties
- height → SizedBox
-
Available on num, provided by the SizedBoxExtension extension
Creates a SizedBox with the specified heightno setter - space → SizedBox
-
Available on num, provided by the SizedBoxExtension extension
Creates a SizedBox with both height and widthno setter - width → SizedBox
-
Available on num, provided by the SizedBoxExtension extension
Creates a SizedBox with the specified widthno setter