sizable

Creator: coderz1093

Last updated:

0 purchases

TODO
Add to Cart

Description:

sizable

#Sizable
Making code less manageable and writing clean code. Reuse commonly used sizing padding widgets.
Features #
This package uses flutter extension methods to make widgets such as padding sizedbox align .etc. Widgets that are reused often more easy to use.
Usage #
Align widget is called in this way, width alignment positions as 'left', 'right' and 'center'
'left'.align(YourWidgetHere)
copied to clipboard
Get the whole screen width size
width(context)

example: SizedBox(width: width(context) * .5),
copied to clipboard
Get the whole screen height size
height(context)

example: SizedBox(height: height(context) * .5),
copied to clipboard
SizedBox height extension is used like this:
heightInDouble.sizeh

example: 20.sizeh
example: 20.5.sizeh
copied to clipboard
you can use int or double as prefix size
SizedBox width extension is used like this:
widthInDouble.sizew

example: 20.sizew
example: 20.5.sizew
copied to clipboard
you can use int or double as prefix size
EdgeInsets.all() is used like this:
spacing()

example: Padding(
padding: spacing()
)
copied to clipboard
with parameter value as default 10
EdgeInsets.symmetric() is used like this:
spacingSym()

example: Padding(
padding: spacingSym()
padding: spacingSym(v:15)
)
copied to clipboard
with horizontal as h and vertical as v which both has default of 10
EdgeInsets.only() is used like this:
spacingOnly()

example: Padding(
padding: spacingOnly(t:10,r:15)
)
copied to clipboard
with horizontal as h, vertical as v, top as t and bottom as b in
which all the values are 0 in default
Additional information #
You can head over to my github and contribute to this package.

License

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product:

Customer Reviews

There are no reviews.