NumExt extension
Extension class for num
type that adds convenience functions to create SizedBox widgets.
- on
Methods
-
hBox(
[Widget? child]) → SizedBox -
Available on num, provided by the NumExt extension
Creates a fixed height SizedBox with the specified height equal to thisnum
. -
sqBox(
[Widget? child]) → SizedBox -
Available on num, provided by the NumExt extension
Creates a fixed square sized SizedBox with the specified height and width equal to thisnum
. -
wBox(
[Widget? child]) → SizedBox -
Available on num, provided by the NumExt extension
Creates a fixed width SizedBox with the specified width equal to thisnum
.