Widget of the Day- AppBar()

Kanishtha SahuKanishtha Sahu
1 min read

Let's implement the simple AppBar in Flutter!

What is AppBar in Flutter?

In Flutter, an AppBar is a customizable widget placed at the top of the screen. It typically contains a title, optional leading and trailing widgets, and can accommodate various actions such as icons or buttons. The AppBar is used to give users easy access to app-specific functionalities, navigate back to the previous screen, or provide other essential features.

Implementation

Arguments of the AppBar

  • elevation

  • leading

  • actions

Output of the implementation

0
Subscribe to my newsletter

Read articles from Kanishtha Sahu directly inside your inbox. Subscribe to the newsletter, and don't miss out.

Written by

Kanishtha Sahu
Kanishtha Sahu