AppBar

AppBar is a Material Design widget in Flutter that is used to display a toolbar at the top of the screen. It provides a space to display the app's title, icon, actions, navigation menu, or other widgets, depending on the app's needs.

Example:

AppBar(
  title: Text('My App'),
  actions: [
    IconButton(
      icon: Icon(Icons.search),
      onPressed: () {
        // Do something when pressed
      },
    ),
    IconButton(
      icon: Icon(Icons.more_vert),
      onPressed: () {
        // Do something when pressed
      },
    ),
  ],
)

Parameters

Some common parameters that are used with AppBar() include: