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