Class

FabPosition

The possible positions for a FloatingActionButton attached to a Scaffold.

Source set: Common
public class FabPosition internal constructor(@Suppress("unused") private val value: Int)

The possible positions for a FloatingActionButton attached to a Scaffold.

Functions

toString

Source set: Common
override fun toString(): String

Members

Companion

Source set: Common
public companion object

Properties

Start

Source set: Common
public val Start: FabPosition

Position FAB at the bottom of the screen at the start, above the BottomAppBar (if it exists)

Center

Source set: Common
public val Center: FabPosition

Position FAB at the bottom of the screen in the center, above the BottomAppBar (if it exists)

End

Source set: Common
public val End: FabPosition

Position FAB at the bottom of the screen at the end, above the BottomAppBar (if it exists)

Jetpack Compose beyond MaterialFree components, screens and templates for apps that don’t look like Google’s. Copy them into your app, or let your coding agent add them.Browse for free

Content updated: