Fixed
Status Update
Comments
ap...@google.com <ap...@google.com> #2
You can just use createAndroidComposeRule
that does this for you.
Will try to figure out why I can't find documentation on dev.android for this
Description
Currently there is a
Modifier.offset
overload that consumes 2 lambdas to return an x and y offset parameter. To support a trailing lambda syntax, it might be possible to refactor the API signature to the following:This would support trailing lambda syntax and help assist with the mental model of leveraging lambdas for animated use cases to avoid unnecessary composition