How to set the height of the AppBar in Flutter?

Posted by Andre Scott | Updated on

Want to set the height of the AppBar in Flutter? You can use PreferredSize class
PreferredSize class: This widget does not impose any constraints on its child, and it doesn’t affect the child’s layout in any way. It just advertises a preferred size which can be used by the parent.


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.

Related Questions & Answers