class MyApp extends StatefulWidget {
const MyApp({Key? key}) : super(key: key);
@override
_MyAppState createState() => _MyAppState();
}
class _MyAppState extends State<MyApp> {
@override
Widget build(BuildContext context) {
return MaterialApp(
debugShowCheckedModeBanner: false,
home: Scaffold(
appBar: PreferredSize(
child: SafeArea(
child: Container(
child: Row(
mainAxisAlignment: MainAxisAlignment.start,
children: <Widget>[
IconButton(
icon: Icon(Icons.accessibility_sharp),
onPressed: () {
print('object');
},
),
Icon(Icons.menu),
Icon(Icons.search),
],
),
),
),
preferredSize: Size.fromHeight(100),
),
body: Column(
children: [
SizedBox(
height: 20.0,
),
Text('My Queries'),
],
),
),
);
}
}
I'm new to flutter development, I'm learning to create customize app bar. How to create it and what is the first icon in that image
.
IS that really app bar or body?



