The best way to customized Jetpack compose Material3 TextField | through Thomas | Jan, 2024

Let’s believe we wish to create a TextField following our theme app design device like this Let’s first create a Customized TextFiled then set customized Colours non-public val AppTextInputColors: TextFieldColors@Composableget() = OutlinedTextFieldDefaults.colours(focusedContainerColor = MaterialTheme.colorScheme.background,unfocusedContainerColor = MaterialTheme.colorScheme.background,cursorColor = MaterialTheme.colorScheme.onBackground,focusedLabelColor = MaterialTheme.colorScheme.onBackground,unfocusedLabelColor = MaterialTheme.colorScheme.onBackground,focusedBorderColor = MaterialTheme.colorScheme.number one,unfocusedBorderColor = MaterialTheme.colorScheme.onBackground,focusedLeadingIconColor = MaterialTheme.colorScheme.onBackground,unfocusedLeadingIconColor = MaterialTheme.colorScheme.onBackground,focusedTrailingIconColor = MaterialTheme.colorScheme.onBackground,unfocusedTrailingIconColor = MaterialTheme.colorScheme.onBackground,errorBorderColor […]

The best way to customized Jetpack compose Material3 TextField | through Thomas | Jan, 2024 Read More »