Package 

Class ForcedDarkElementThemeKt

    • Method Summary

      Modifier and Type Method Description
      final static Unit ForcedDarkElementTheme(Boolean lightStatusBar, Function0<Unit> content) Can be used to force a composable in dark theme.
      • Methods inherited from class java.lang.Object

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

      • ForcedDarkElementTheme

        @Composable() final static Unit ForcedDarkElementTheme(Boolean lightStatusBar, Function0<Unit> content)

        Can be used to force a composable in dark theme. It will automatically change the system ui colors back to normal when leaving the composition.