Package 

Class BottomNavigationKt

    • Method Summary

      Modifier and Type Method Description
      final static Unit BottomNavigation(Modifier modifier, PaddingValues contentPadding, Color backgroundColor, Color contentColor, Dp elevation, Function1<RowScope, Unit> content) A wrapper around BottomNavigation which supports the setting of contentPadding to add internal padding.
      final static Unit BottomNavigationSurface(Modifier modifier, Color backgroundColor, Color contentColor, Dp elevation, Function0<Unit> content)
      final static Unit BottomNavigationContent(Modifier modifier, Function1<RowScope, Unit> content)
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • BottomNavigation

         final static Unit BottomNavigation(Modifier modifier, PaddingValues contentPadding, Color backgroundColor, Color contentColor, Dp elevation, Function1<RowScope, Unit> content)

        A wrapper around BottomNavigation which supports the setting of contentPadding to add internal padding. This is especially useful in conjunction with insets.

        For an edge-to-edge layout, typically you would use the com.google.accompanist.insets.WindowInsets.navigationBars insets like so below:

      • BottomNavigationSurface

         final static Unit BottomNavigationSurface(Modifier modifier, Color backgroundColor, Color contentColor, Dp elevation, Function0<Unit> content)