Quantcast
Viewing latest article 3
Browse Latest Browse All 9

Answer by Saud Bako for How to create a custom AppBar widget?

I extended AppBar with my custom widget.Then passed my parameters to the super class.

class CustomAppBar extends AppBar {  CustomAppBar()      : super(          title: Text('MyApp'),          actions: [            IconButton(icon: Icon(Icons.search), onPressed: () {}),          ],        );}

Viewing latest article 3
Browse Latest Browse All 9

Trending Articles