add title to appbar in center flutter 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( title center)
AppBar(
centerTitle: true, // this is all you need
...
)