import 'package:flutter/material.dart'; void main() => runApp(new MaterialApp( home: new MyApp(), )); class MyApp extends StatefulWidget { @override _MyAppState createState() => _MyAppState(); } class _MyAppState extends State { @override Widget build(BuildContext context) { return Scaffold( appBar: AppBar( leading: IconButton( icon: Icon(Icons.menu), onPressed: () { print('Icon Button Click'); }, ), title: Text('Appbar Demo'), actions: [ IconButton( icon: Icon(Icons.search), onPressed: () {}, ), IconButton( icon: Icon(Icons.more_vert), onPressed: () {}, ) ], ), ); } }