drawCircle( Color.Red, 64f, Offset(size.width / 2, size.height / 2), style = Stroke(width = 8f, pathEffect = DashPathEffect(floatArrayOf(10f, 10f), 0f) ), )
I keep getting this error after upgrading to beta. How do we solve that? "Type mismatch: inferred type is DashPathEffect but PathEffect was expected."
I'll loook into this shortly. Will keep you posted.
Got a workaround for this.
This has to be changed to this:
drawCircle( Color.Red, 64f, Offset(size.width / 2, size.height / 2), style = Stroke(width = 8f, pathEffect = PathEffect.dashPathEffect(floatArrayOf(10f, 10f), 0f) ), )
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
I keep getting this error after upgrading to beta. How do we solve that?
"Type mismatch: inferred type is DashPathEffect but PathEffect was expected."
I'll loook into this shortly. Will keep you posted.
Got a workaround for this.
This has to be changed to this: