FontWeightAdjustment
Function
Android
@RequiresApi(31)
fun DeviceConfigurationOverride.Companion.FontWeightAdjustment(
    fontWeightAdjustment: Int
): DeviceConfigurationOverride
A DeviceConfigurationOverride that overrides the font weight adjustment for the contained
content.
Parameters
| fontWeightAdjustment | the font weight adjustment to use to render the content under test. | 
Returns
| a DeviceConfigurationOverridethat specifies the font weight adjustment for the content under test. | 
Code Examples
DeviceConfigurationOverrideFontWeightAdjustmentSample
@Composable
fun DeviceConfigurationOverrideFontWeightAdjustmentSample() {
    DeviceConfigurationOverride(DeviceConfigurationOverride.FontWeightAdjustment(200)) {
        MyComponent() // will be rendered with adjusted font weight
    }
}
