sizable 0.0.1 copy "sizable: ^0.0.1" to clipboard
sizable: ^0.0.1 copied to clipboard

Making code less managable and writing clean code. Reuse commonly used sizing padding widgets.

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 :

'left'.align(YourWidgetHere)

Get the whole screen width size

width(context)

Get the whole screen height size

height(context)

SizedBox height extension is used like this:

heightInInt.sizeh

SizedBox width extension is used like this:

heightInInt.sizew

EdgeInsets.all() is used like this:

spacing()

with parameter value as default 10

EdgeInsets.symmetric() is used like this:

spacingSym()

with horizontal as h and vertical as v which both has default of 10

EdgeInsets.only() is used like this:

spacingOnly()

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 #

Go to my github and contribute to this package.

0
likes
0
pub points
0%
popularity

Publisher

unverified uploader

Making code less managable and writing clean code. Reuse commonly used sizing padding widgets.

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

flutter

More

Packages that depend on sizable