flutter display widget at end of appbar code example
Example: flutter appbar widget
Widget build(BuildContext context) {
return new Scaffold(
appBar: new AppBar(
title: new Text('AppBar Title', textAlign: TextAlign.center),
),