HostBehavior class abstract final

What Compose's Host sets in code (behavior.yaml, verified at the pin).

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited

Constants

minimumInteractiveComponentSize → const Dp
The smallest touch target Compose reserves around an interactive component that draws smaller (Modifier.minimumInteractiveComponentSize, LocalMinimumInteractiveComponentSize's default). (InteractiveComponentSize.kt line 268.)
textSelectionBackgroundOpacity → const double
Selected text's background is the primary role at this opacity; its handles and cursor are primary (MaterialTheme's rememberTextSelectionColors). (MaterialTheme.kt line 285.)
tonalElevationAlphaIntercept → const double
The intercept of the tonal-elevation alpha (as tonalElevationAlphaSlope). (ColorScheme.kt line 1159.)
tonalElevationAlphaSlope → const double
Tonal elevation: the surface tint's alpha is (slope · ln(elevation + 1) + intercept) / 100 (ColorScheme.surfaceColorAtElevation). (ColorScheme.kt line 1159.)