---
title: "ProvidableStyleProperty"
description: "Defines a style property whose value can be provided within a style scope."
type: "class"
lastmod: "2026-09-24"
---
## API Reference

> Source set: Common

```kotlin
public open class ProvidableStyleProperty<T>(name: String, local: Boolean, defaultValue: () -> T) :
    StyleProperty<T>(name, local, defaultValue)
```

Defines a style property whose value can be provided within a style scope.

#### Parameters

| | |
| --- | --- |
| T | type of value held by the property |
| name | optional debug name for the property |
| local | whether this property inherits down the layout tree |
| defaultValue | provider for the fallback value when not set |
