Status Update
Comments
ni...@google.com <ni...@google.com> #3
Thanks for the report!
ni...@google.com <ni...@google.com> #4
The release notes documentation has been edited to clarify this change in behavior for line height.
To support non-standard text sizes, we encourage users to follow the Material design system and use a different style = LocalTextStyle.current.copy(lineHeight = TextUnit.Unspecified)
, or create a custom Typography
entirely.
ap...@google.com <ap...@google.com> #5
ca...@google.com <ca...@google.com> #6
In my case, I have multiple font sizes in the same Text
(using SpanStyle
in AnnotatedString
). There are legitimate reasons for this. For example, when combining Chinese and English (phonetic) together (for language-learning purposes).
ca...@google.com <ca...@google.com> #7
BTW the reason marking the setter as internal didn't work is that internal fields are visisble in subclasses and hence any modules that see those subclasses, which is interesting. Thanks again Nick for finding this!
Description
SwipeableState.value
property is currently writeable but should likely be private to encourage consumers to use the[animate|snap]To
methods. See (internal)