WhiteSpace is a widget to create white space between widgets with the size based on the rule of 8.
Install
flutter pub add white_space
Usage
Size | Usage |
---|---|
2 | WhiteSpace.xxxs |
4 | WhiteSpace.xxs |
8 | WhiteSpace.xs |
10 | WhiteSpace.s |
12 | WhiteSpace.m |
16 | WhiteSpace.l |
24 | WhiteSpace.xl |
32 | WhiteSpace.xxl |
64 | WhiteSpace.xxxl |
Specified Size | WhiteSpace.size() |
Scale of 8 | WhiteSpace.scale() |