Indicate the associated pane should be reflowed when certain conditions are met. With the default calculation functions calculateThreePaneScaffoldValue we provide, when it's a single pane layout, a pane with the reflow strategy will be adapted to either:

  1. PaneAdaptedValue.Reflowed, when either the reflowed pane or the target pane it's supposed to be reflowed to is the current destination; or

  2. PaneAdaptedValue.Hidden otherwise.

Note that if the current layout can have more than one horizontal partitions, the pane will never be reflowed.

Summary

Public constructors

Reflow(targetPane: Any)
Cmn

Public functions

open operator Boolean
equals(other: Any?)
Cmn
open Int
Cmn
open String
Cmn

Public properties

Any

the target pane of the reflowing, i.e., the pane that the reflowed pane will be put under.

Cmn

Inherited functions

From androidx.compose.material3.adaptive.layout.AdaptStrategy
open PaneAdaptedValue

This function is deprecated. This function is deprecated in favor of directly using the info carried by the strategy instances to make adaptation decisions.

Cmn

Public constructors

Reflow

Reflow(targetPane: Any)
Parameters
targetPane: Any

the target pane of the reflowing, i.e., the pane that the reflowed pane will be put under.

Public functions

equals

open operator fun equals(other: Any?): Boolean

hashCode

open fun hashCode(): Int

toString

open fun toString(): String

Public properties

targetPane

val targetPaneAny

the target pane of the reflowing, i.e., the pane that the reflowed pane will be put under.