DebugFlags
value class DebugFlags
Flags to use with MotionLayout to enable visual debugging.
Summary
Public companion properties |
|
---|---|
DebugFlags |
|
DebugFlags |
|
Public constructors |
---|
DebugFlags( |
Public properties |
|
---|---|
Boolean |
When enabled, shows the bounds of widgets at the start and end of the current transition. |
Boolean |
When enabled, shows a diamond icon representing KeyPositions defined for each widget along the path. |
Boolean |
When enabled, shows the paths each widget will take through the current transition. |
Public companion properties
All
val All: DebugFlags
DebugFlags
instance with all flags enabled.
Note that this includes any flags added in the future.
Public constructors
DebugFlags
DebugFlags(
showBounds: Boolean = false,
showPaths: Boolean = false,
showKeyPositions: Boolean = false
)
Parameters | |
---|---|
showBounds: Boolean = false |
Whether to show the bounds of widgets at the start and end of the current transition. |
showPaths: Boolean = false |
Whether to show the paths each widget will take through the current transition. |
showKeyPositions: Boolean = false |
Whether to show a diamond icon representing KeyPositions defined for each widget along the path. |
Public properties
showBounds
val showBounds: Boolean
When enabled, shows the bounds of widgets at the start and end of the current transition.
showKeyPositions
val showKeyPositions: Boolean
When enabled, shows a diamond icon representing KeyPositions defined for each widget along the path.