Hello, Is it possible to override `TitleInsetWitho...
# compose
g
Hello, Is it possible to override
TitleInsetWithoutIcon
? I could use:
Copy code
* This TopAppBar has no pre-defined slots for content, allowing you to customize the layout of
* content inside.

@Composable
fun TopAppBar(
    modifier: Modifier = Modifier,
    backgroundColor: Color = MaterialTheme.colors.primarySurface,
    contentColor: Color = contentColorFor(backgroundColor),
    elevation: Dp = AppBarDefaults.TopAppBarElevation,
    contentPadding: PaddingValues = AppBarDefaults.ContentPadding,
    content: @Composable RowScope.() -> Unit
)
But then I’ll have to replicate mostly everything. Just want to get rid of that padding to center a text. Other option would be to add the same padding to the
end
. But well, just asking 🙂