Want to get subtext aligned under title in appbar in flutter? The menu bar actions widgets get aligned on the right and as far as I know it is not possible to obtain your desidered layout.
Should you consider a column based widget with a title and subtitle:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | Widget build(BuildContext context) { return Scaffold( appBar: new AppBar( centerTitle: true, title: Column(children: [ Text( "Title", ), GestureDetector( child: Text('subtitle'), onTap: () { print("tapped subtitle"); }, ) ]), ... |
If you like this question & answer and want to contribute, then write your question & answer and email to freewebmentor[@]gmail.com. Your question and answer will appear on FreeWebMentor.com and help other developers.