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)

Inherited extension functions
From androidx.core.util
infix Range<T>
T.rangeTo(that: T)

Creates a range from this Comparable value to that.

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)