Class MainToolbarKt

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      final static Unit MainToolbar(Modifier modifier, DocumentState documentState, UiColorScheme colorScheme, Function1<String, Unit> customTitle, Function1<Color, Unit> navigationIcon, Function2<RowScope, Color, Unit> actions, Function2<ColumnScope, Color, Unit> overFlowActions, Function1<Integer, Unit> onHeightChanged) Composable that displays the Main tool bar for DocumentView.
      • Methods inherited from class java.lang.Object

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

    • Method Detail

      • MainToolbar

         final static Unit MainToolbar(Modifier modifier, DocumentState documentState, UiColorScheme colorScheme, Function1<String, Unit> customTitle, Function1<Color, Unit> navigationIcon, Function2<RowScope, Color, Unit> actions, Function2<ColumnScope, Color, Unit> overFlowActions, Function1<Integer, Unit> onHeightChanged)

        Composable that displays the Main tool bar for DocumentView.

        Parameters:
        modifier - The Modifier to be applied to the layout.
        documentState - The DocumentState describing the document to be shown.
        colorScheme - Provides customised Material themes to Composables can be used as val colors = getPdfColors() colorScheme = colors.copy(mainToolbar = colors.mainToolbar.copy(backgroundColor = Color.
        customTitle - The composable scope for customisable title view.
        navigationIcon - The composable scope for customisable navigation icon.
        actions - The actions displayed at the end of the existing menu items.
        overFlowActions - The actions displayed in the overflow menu.