Package 

Class SearchBoxKt

    • Method Summary

      Modifier and Type Method Description
      final static Unit SearchBox(Modifier modifier, SearchBoxState searchBoxState, Function2<String, Boolean, Unit> onValueChange, Boolean enabled, TextStyle textStyle, String placeHolderText, TextFieldColors colors, Function0<Unit> leadingIcon, Function0<Unit> trailingIcon, Dp elevation) Search Box compose component.
      final static TextFieldColors defaultSearchBoxColors(Color textColor, Color backgroundColor, Color onBackgroundColor)
      • Methods inherited from class java.lang.Object

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

      • SearchBox

        @Deprecated(message = implement your search box manually instead)@Composable() final static Unit SearchBox(Modifier modifier, SearchBoxState searchBoxState, Function2<String, Boolean, Unit> onValueChange, Boolean enabled, TextStyle textStyle, String placeHolderText, TextFieldColors colors, Function0<Unit> leadingIcon, Function0<Unit> trailingIcon, Dp elevation)

        Search Box compose component.

        Parameters:
        modifier - Modifier to be applied
        searchBoxState - search box query component
        onValueChange - callback triggered on each text update
        textStyle - the style to be applied to the input text
        placeHolderText - the placeholder to be displayed when the the input text is empty
        colors - will be used to resolve color of the text, content and background
        elevation - controls the size of the shadow below the surface
      • defaultSearchBoxColors

        @Composable() final static TextFieldColors defaultSearchBoxColors(Color textColor, Color backgroundColor, Color onBackgroundColor)