appbar title left flutter code example
Example 1: flutter appbar( title center)
AppBar(
centerTitle: true, // this is all you need
...
)
Example 2: how to set title in appbar in flutter
appBar: AppBar(
title: Text('Sample Title'),
),
output: -------------------
| Sample Title |
--------------------
| |
| |
| |
| |
| |
--------------------