Package 

Class KeybaordPaddingProviderKt

    • Method Summary

      Modifier and Type Method Description
      final static State<Dp> keyboardPadding(Dp padding, ScrollState scrollState) Provides a padding based on keyboard state.
      • Methods inherited from class java.lang.Object

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

      • keyboardPadding

        @Composable() final static State<Dp> keyboardPadding(Dp padding, ScrollState scrollState)

        Provides a padding based on keyboard state. If keyboard is opened the passed padding will be returned and 0 will be returned otherwise

        In case if scrollState is passed - it will be scrolled automatically to this padding