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.

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 NavigationBar (if it exists)

Center

Source set: Common
public val Center: FabPosition

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

End

Source set: Common
public val End: FabPosition

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

EndOverlay

Source set: Common
public val EndOverlay: FabPosition

Position FAB at the bottom of the screen at the end, overlaying the NavigationBar (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: