value class DebugFlags


Flags to use with MotionLayout to enable visual debugging.

See also
None
All

Summary

Public companion properties

DebugFlags

DebugFlags instance with all flags enabled.

DebugFlags

DebugFlags instance with all flags disabled.

Public constructors

DebugFlags(
    showBounds: Boolean,
    showPaths: Boolean,
    showKeyPositions: Boolean
)

Public functions

open String

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

Added in 1.1.0
val AllDebugFlags

DebugFlags instance with all flags enabled.

Note that this includes any flags added in the future.

None

Added in 1.1.0
val NoneDebugFlags

DebugFlags instance with all flags disabled.

Public constructors

DebugFlags

Added in 1.1.0
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 functions

toString

open fun toString(): String

Public properties

showBounds

Added in 1.1.0
val showBoundsBoolean

When enabled, shows the bounds of widgets at the start and end of the current transition.

showKeyPositions

Added in 1.1.0
val showKeyPositionsBoolean

When enabled, shows a diamond icon representing KeyPositions defined for each widget along the path.

showPaths

Added in 1.1.0
val showPathsBoolean

When enabled, shows the paths each widget will take through the current transition.