Does anyone know how I can create an app bar with a multi-line title, as per the material guidelines show here?
https://material.io/design/components/app-bars-top.html#anatomy
Any ideas how to do this? It seems like it should be straightforward given that it's part of the material guidelines! Worth pointing out that the title is user defined, so I want to allow the app bar to expand from a single line to multiple lines (perhaps with a limit imposed) depending on user input.
Mike
Best Answer
This is not implemented yet.
However you can achieve similar results by using
SliverAppBar
designed forCustomScrollView
.Bear in mind that this is not optimal though. As it required hard coding the size of the icons and stuff. Due to
FlexibleSpacebar
not having width constraint.