fixedSp

fun Dp.fixedSp(type: ScreenType = ScreenType.LOWEST, ignoreMultiWindows: Boolean = true): TextUnit

EN Builds the adjusted TextUnit (Sp).

PT Constrói o TextUnit (Sp) ajustado.


fun TextUnit.fixedSp(type: ScreenType = ScreenType.LOWEST, ignoreMultiWindows: Boolean = true): TextUnit

EN Applies dimension adjustment directly to the TextUnit (Sp).

PT Aplica o ajuste de dimensão diretamente no TextUnit (Sp).


fun Float.fixedSp(type: ScreenType = ScreenType.LOWEST, ignoreMultiWindows: Boolean = true): TextUnit

EN Converts Float to Dp, applies dimension adjustment, and returns in Sp.

PT Converte Float para Dp, aplica o ajuste de dimensão e retorna em Sp.


fun Int.fixedSp(type: ScreenType = ScreenType.LOWEST, ignoreMultiWindows: Boolean = true): TextUnit

EN Converts Int to Dp, applies dimension adjustment, and returns in Sp.

PT Converte Int para Dp, aplica o ajuste de dimensão e retorna em Sp.