Google is committed to advancing racial equity for Black communities. See how.

FabPosition

enum class FabPosition
kotlin.Any
   ↳ kotlin.Enum<androidx.compose.material.FabPosition>
   ↳ androidx.compose.material.FabPosition

The possible positions for a FloatingActionButton attached to a Scaffold.

Summary

Enum values

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

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

Enum values

Center

enum val Center : FabPosition

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

End

enum val End : FabPosition

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