Zyle Moore
07/15/2025, 1:45 AMident
method? I'm trying to do something like
button {
css {
gridColumnStart = GridColumnStart("center")
gridColumnEnd = GridColumnEnd("span 2")
gridRowStart = GridRowStart("hazardous")
gridRowEnd = GridRowEnd("span 3")
}
}
But for all of them I'm getting variations of
> Assignment type mismatch: actual type is 'GridColumnStart', but 'GridLineProperty?' was expected.Zyle Moore
07/15/2025, 2:35 AMident
does what I want, do all non-integer
values need to use ident
?turansky
07/15/2025, 2:16 PMident
usually used in case when value is generic (like in your case).
In common case you declare Ident
constant and use it in different placesturansky
07/15/2025, 2:17 PMDisplay
and AlignItems
for example you have already predefined constants