appbar title center with leading code example
Example 1: how to center the title of the appbar flutter
AppBar(
centerTitle: true, // this is all you need
...
)
Example 2: flutter appbar icon center
appBar: AppBar(centerTitle: true, title: AppImages.logoSvg)