Marcello Galhardo
12/01/2021, 4:26 PMbringIntoView
is actually mandatory but you should get the point):
@Composable
private fun MyTextField(
// other attributes
modifier: Modifier = Modifier.bringIntoView(), // optional modifier that can be overriden.
) {
And the warning:
Optional Modifier parameter should have a default value of Modifier
Damian Zawadzki
12/01/2021, 5:01 PM