topBarInsets

fun topBarInsets(reachesStart: Boolean = true): WindowInsets(source)

The insets an app bar keeps clear of: the status bar and any display cutout, on the top and on the sides the bar reaches. A bar beside a rail or drawer only reaches the end side.