# ProductFlavorAttr.Companion

# ProductFlavorAttr.Companion


```
@Incubating object ProductFlavorAttr.Companion
```

<br />

*** ** * ** ***

## Summary

|                                                                                                                                                                                                                                                                                                                     ### Public functions                                                                                                                                                                                                                                                                                                                      ||
|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| `@`[Incubating](https://docs.gradle.org/current/javadoc/org/gradle/api/Incubating.html)` `[Attribute](https://docs.gradle.org/current/javadoc/org/gradle/api/attributes/Attribute.html)`<`[ProductFlavorAttr](https://developer.android.com/reference/tools/gradle-api/8.3/com/android/build/api/attributes/ProductFlavorAttr)`>` | [of](https://developer.android.com/reference/tools/gradle-api/8.3/com/android/build/api/attributes/ProductFlavorAttr.Companion#of(kotlin.String))`(flavorDimension: `[String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)`)` Returns a product flavor attribute for the given flavor dimension |

## Public functions

### of

```
@Incubating
fun of(flavorDimension: String): Attribute<ProductFlavorAttr>
```

Returns a product flavor attribute for the given flavor dimension  

|                                                                                      Parameters                                                                                       ||
|-----------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------|
| `flavorDimension: `[String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | The name of the flavor dimension, as specified in the Android Gradle Plugin DSL. |