appBar method
dynamic
appBar(
- dynamic title
Implementation
appBar(title) {
return AppBar(
iconTheme: IconThemeData(color: Colors.black),
elevation: 0.0,
centerTitle: true,
leading: IconButton(icon: Icon(Icons.arrow_back_ios), onPressed: ()=> Navigator.pop(context)),
backgroundColor: Colors.white,
title: Text(
title,
),
);
}