create

Creates a builder initialized with the requested preset.

Return

a new mutable builder.

Parameters

context

context used to resolve theme and elevation resources.

mode

layout mode used to select the elevation preset.

paneState

state used to select the width and elevation preset.