State of Compose 2023 results are in! Click here to learn more

← Back to Material 3 Compose

TrailingIcon

Component
in
Material 3
. Since 1.0.0

Overview

Code Examples

Contains default values used by Exposed Dropdown Menu.

Overloads

TrailingIcon

@ExperimentalMaterial3Api
object ExposedDropdownMenuDefaults {
    /**
     * Default trailing icon for Exposed Dropdown Menu.
     *
     * @param expanded whether [ExposedDropdownMenuBoxScope.ExposedDropdownMenu] is expanded or not.
     * Affects the appearance of the icon.
     */
    @ExperimentalMaterial3Api
    @Composable
    fun TrailingIcon(expanded: Boolean)