Mobile application development, front end and backend development

Flutter Custom Appbar

The default Appbar provided by Flutter is kind of boring and not much good looking. Maybe you want to change the Appbar to match with your product design guideline.

Customizing the Appbar is super easy in flutter you will be able to add cool custom design for that. In this article, you will learn how to create an Appbar with the round corner in the bottom.

In Appbar , you must provide PreferredSize widget.

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

PreferredSize – api.flutter.dev

In there you can use ClipRRect widget get the round corner in the bottom of the Appbar. Inside the ClipRRect you can provide Container as a child widget with Row widget to add child components like text and the Icons.