Skip to content

0.1.0

Compare
Choose a tag to compare
@cruisediary cruisediary released this 05 Nov 12:53
· 52 commits to main since this release

🌺 First Release

Supported Features

Supported Features
HStack βœ…
VStack βœ…
ZStack βœ…
Button βœ…
Text βœ…
Image βœ…
ScrollView βœ…
Behavior βœ…
Spacer βœ…
View Modifier βœ…
Text Modifier βœ…

View Modifier

name Description
setHContentHugging Sets the priority with which a view resists being made larger than its intrinsic size.
setVContentHugging Sets the priority with which a view resists being made larger than its intrinsic size.
setHContentCompressionResistance Sets the priority with which a view resists being made smaller than its intrinsic size.
setVContentCompressionResistance Sets the priority with which a view resists being made smaller than its intrinsic size.
makeRatio Modify the ratio of the size of the view.
cornerRadius Modify corner radius.
border Modify border style.
background Modifiy background color.
makeContentMode Modify content mode.
frame Positions this view within an invisible frame with the specified size.
padding Adds an equal padding amount to specific edges of this view.
allowsHitTesting Configures whether this view participates in hit test operations.

Text Modifier

name Description
font Modify text font.
foregroundColor Modify foreground color.
textAligned Modify text alignment
lineLimit The maximum number of lines that text can occupy in a view.
lineBreakMode Modify line break mode.
adjustFontSize Modify adjustsfontsize to fit width
minimumScaleFactor Modify minimum scale factor.