Skip to content

Size

Use size-{value} utilities to set both the width and height of an element at the same time.

Style('size-16 ...', child: Text('size-16'))
Style('size-20 ...', child: Text('size-20'))
Style('size-24 ...', child: Text('size-24'))
Style('size-32 ...', child: Text('size-32'))
Style('size-40 ...', child: Text('size-40'))
ClassValue
size-00px
size-px1px
size-0.52px
size-14px
size-28px
size-416px
size-624px
size-832px
size-1040px
size-1248px
size-1664px
size-2080px
size-2496px
size-32128px
size-48192px
size-64256px
size-full100%

All spacing scale values are available. The size utility sets both width and height to the same value.