how to add appbar in flutter code example
Example: flutter appbar widget
Widget build(BuildContext context) {
return new Scaffold(
appBar: new AppBar(
title: new Text('AppBar Title', textAlign: TextAlign.center),
),
Widget build(BuildContext context) {
return new Scaffold(
appBar: new AppBar(
title: new Text('AppBar Title', textAlign: TextAlign.center),
),