Is there a good method for dynamically picking between a TopAppBar and a LargeTopAppBar depending on the length of text? I want to use a normal TopAppBar if the text is 1 line, but if it's going to wrap 2+ lines I want to use the large one, but I'm unsure if a good method for this since you'd have to lay it out first to get the line count.
Garret Yoder
03/04/2024, 8:29 PM
It'd be great if we had something with the same scroll behavior as the app bars but without a fixed height