withPasswordToggle

fun <T : TextInputLayout> T.withPasswordToggle(): T

Shows or hides the password from the start icon, which leaves the end icon to withClear.