Want to make some icons at Appbar with different alignment? Use leading to set a widget before appBar title & use actions to specify list of widgets in appBar which appears on right side of appBar title.
1 2 3 4 5 6 7 8 | AppBar( leading: Image.asset('yourImage'), // you can put Icon as well, it accepts any widget. title: Text ("Your Title"), actions: [ Icon(Icons.add), Icon(Icons.add), ], ); |
If you like this question & answer and want to contribute, then write your question & answer and email to freewebmentor[@]gmail.com. Your question and answer will appear on FreeWebMentor.com and help other developers.