طريقة عمل ال App Bar في flutter

 طريقة عمل ال App Bar في  flutter



Widget build(BuildContext context) {
return Scaffold(
appBar: AppBar(
title: const Text('Book Shop'),
elevation: 10, //ارتفاع
foregroundColor: Colors.black,
backgroundColor: Colors.red,
leading: const Icon(Icons.menu),
iconTheme: IconThemeData(color: Colors.white, size: 50, opacity: 1),
actions: const [
Padding(
padding: EdgeInsets.all(4),
child: CircleAvatar(
backgroundColor: Colors.tealAccent,
radius: 25,
),
),
],

),
);
}