BaseAppBar

BaseAppBar

 

BaseAppBar is the customised AppBar widget which contains the App Header (mGramSeva) and drop down of tenant selection. It is wrapped under Scaffold’s App Bar

 

User interaction on Screen

  • BaseAppBar has an app drawer which renders the quick actions list.

  • Tenant selection and changing of tenant can be done from the tenant drop down menu.

 

Widgets used from Flutter Material Library

SL No

Widgets

Description

SL No

Widgets

Description

1

GestureDetector()


Provides tap feature

2

Text()

Tenant text

3

Icon()

Drop down icon

4

AppBar()

Used in Scaffold appBar property

 

Files Path :

Primary Files : https://github.com/misdwss/punjab-mgramseva/blob/master/frontend/mgramseva/lib/widgets/customAppbar.dart ,

https://github.com/misdwss/punjab-mgramseva/blob/master/frontend/mgramseva/lib/widgets/BaseAppBar.dart