AppBar( centerTitle: true, // this is all you need ... )
appBar: AppBar( title: Text('Sample Title'), ), output: ------------------- | Sample Title | -------------------- | | | | | | | | | | --------------------